summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/repos_add.html (renamed from ogcp/templates/actions/repos_details.html)4
-rw-r--r--ogcp/templates/repos.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/ogcp/templates/actions/repos_details.html b/ogcp/templates/actions/repos_add.html
index 2768492..7782014 100644
--- a/ogcp/templates/actions/repos_details.html
+++ b/ogcp/templates/actions/repos_add.html
@@ -7,10 +7,10 @@
{% block nav_repos_add %}active{% endblock %}
{% block content %}
-<h1 class="m-5">{{_('Repo details')}}</h1>
+<h1 class="m-5">{{_('Add repo')}}</h1>
{{ wtf.quick_form(form,
- action=url_for('repo_add_post'),
+ action=url_for('action_repo_add'),
method='post',
button_map={'submit': 'primary'},
extra_classes="mx-5") }}
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html
index 31a4226..5ca33fe 100644
--- a/ogcp/templates/repos.html
+++ b/ogcp/templates/repos.html
@@ -51,7 +51,7 @@
{% block commands %}
<input class="btn btn-light {% block nav_repo_add %}{% endblock %}" type="submit" value="{{ _('Add repo') }}"
- form="reposForm" formaction="{{ url_for('repo_add_get') }}" formmethod="get">
+ form="reposForm" formaction="{{ url_for('action_repo_add') }}" formmethod="get">
<input class="btn btn-light {% block nav_repo_delete %}{% endblock %}" type="submit" value="{{ _('Delete repo') }}"
form="reposForm" formaction="{{ url_for('action_repo_delete') }}" formmethod="get">
<input class="btn btn-light {% block nav_repo_update %}{% endblock %}" type="submit" value="{{ _('Update repo') }}"