diff --git a/ogcp/templates/actions/repos_details.html b/ogcp/templates/actions/repos_add.html similarity index 81% rename from ogcp/templates/actions/repos_details.html rename to 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 %} -

{{_('Repo details')}}

+

{{_('Add repo')}}

{{ 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 %} + form="reposForm" formaction="{{ url_for('action_repo_add') }}" formmethod="get">