diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-14 12:36:40 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-30 17:20:17 +0200 |
commit | 1e7fce971acd38f072a07cf436d2a94897176be3 (patch) | |
tree | 033c0679bab0681fffc0e77c7b4d969ff539d05e /ogcp/templates/scopes.html | |
parent | 42dc44323e4cf0eaf0b563ba02f368942cf86e3d (diff) |
Create "Add Center" form and view
Creates "add center" form with "name" as required input and "comment" as
optional input.
In the future, the CenterForm can be used to display center information
once such functionality lands in the ogserver.
Diffstat (limited to 'ogcp/templates/scopes.html')
-rw-r--r-- | ogcp/templates/scopes.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 746acff..934177f 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -20,6 +20,8 @@ form="scopesForm" formaction="{{ url_for('action_client_add') }}" formmethod="get"> <input class="btn btn-light" type="submit" value="{{ _('Add room') }}" form="scopesForm" formaction="{{ url_for('action_room_add') }}" formmethod="get"> + <input class="btn btn-light" type="submit" value="{{ _('Add center') }}" + form="scopesForm" formaction="{{ url_for('action_center_add') }}" formmethod="get"> <input class="btn btn-light" type="submit" value="{{ _('Delete room') }}" form="scopesForm" formaction="{{ url_for('action_room_delete') }}" formmethod="get"> {% endblock %} |