summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_edit.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-12 19:36:10 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-12 19:38:00 -0700
commitef7fafdcb664f9c419069b41d743f69382571f98 (patch)
tree37e0f8ab5e59c5c91a05036a49c40630565aaee0 /python/fatcat_web/templates/container_edit.html
parent13f2faaeb3f01478eba32ba22972a2a8ec07df51 (diff)
downloadfatcat-ef7fafdcb664f9c419069b41d743f69382571f98.tar.gz
fatcat-ef7fafdcb664f9c419069b41d743f69382571f98.zip
continue large refactors of entity views
- container views generic - editgroup edit deletion and re-editing - /editgroup/entity/ident views
Diffstat (limited to 'python/fatcat_web/templates/container_edit.html')
-rw-r--r--python/fatcat_web/templates/container_edit.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/container_edit.html b/python/fatcat_web/templates/container_edit.html
index 553bedb6..6a08b1ae 100644
--- a/python/fatcat_web/templates/container_edit.html
+++ b/python/fatcat_web/templates/container_edit.html
@@ -6,12 +6,12 @@
<div class="ui segment">
<h1 class="ui header">Edit Container Entity</h1>
-<form class="ui form" id="edit_container_form" method="POST" action="/container/{{ entity.ident }}/edit">
+<form class="ui form" id="edit_container_form" method="POST" action="{% if editgroup %}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/container/{{ existing_ident }}/edit">
{% endblock %}
{{ form.hidden_tag() }}
<br>
- {{ edit_macros.editgroup_dropdown(form) }}
+ {{ edit_macros.editgroup_dropdown(form, editgroup) }}
<h3 class="ui dividing header">The Basics</h3>
<br>