summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repos.html
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-12-05 11:48:09 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-05 12:15:34 +0100
commitf76c0ed24d6eb45f60e211fa8eb8d2f13714aa46 (patch)
treebb5baadd6271b4c3a23fa16c17caeb6de727cedf /ogcp/templates/repos.html
parent15dd4c2a8f690dcda27c453b3f8659cd39da525d (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/repos.html')
-rw-r--r--ogcp/templates/repos.html2
1 files changed, 1 insertions, 1 deletions
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') }}"