diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2023-12-05 11:48:09 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-05 12:15:34 +0100 |
commit | f76c0ed24d6eb45f60e211fa8eb8d2f13714aa46 (patch) | |
tree | bb5baadd6271b4c3a23fa16c17caeb6de727cedf /ogcp/templates/actions | |
parent | 15dd4c2a8f690dcda27c453b3f8659cd39da525d (diff) |
views: change repo add view to follow conventionv1.1.3-6
combine repo_add_get and repo_add_post into one, action_repo_add. This
is to follow convention across all the views and to clarify that it is
an action.
rename repos_details template to repos_add. Now it is clear the purpose
of each action template; there is one for each: add, delete and update
Diffstat (limited to 'ogcp/templates/actions')
-rw-r--r-- | ogcp/templates/actions/repos_add.html (renamed from ogcp/templates/actions/repos_details.html) | 4 |
1 files changed, 2 insertions, 2 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") }} |