summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repositories.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-07-01 10:36:20 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-07-04 15:34:02 +0200
commitc068bd21448c2e202720a9daf2923a375c96370d (patch)
treec893d4908ad306218f0c8e5af2e68eb99cdac55b /ogcp/templates/repositories.html
parent9a6981d289865b3a22c645718e0e90865ea14638 (diff)
Create "Add Repository" form and view
Creates "Add repository" form with the required inputs: name and IP.
Diffstat (limited to 'ogcp/templates/repositories.html')
-rw-r--r--ogcp/templates/repositories.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/repositories.html b/ogcp/templates/repositories.html
index 3bed073..2333a88 100644
--- a/ogcp/templates/repositories.html
+++ b/ogcp/templates/repositories.html
@@ -24,6 +24,8 @@
{% endblock %}
{% block commands %}
+ <input class="btn btn-light {% block nav_repository_add %}{% endblock %}" type="submit" value="{{ _('Add repository') }}"
+ form="repositoriesForm" formaction="{{ url_for('repository_add_get') }}" formmethod="get">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
{{ _("Back") }}