summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-05-15 05:39:50 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-05-16 15:19:27 (GMT)
commit25d19a665a07512b4a0a127a696c8a89adc69ef4 (patch)
tree96451c4ece44a504bb1f75fb1d8b4d7fa990ea99
parentd530400faffaab1621983340d35b02dfd6943fb6 (diff)
downloadcombo-25d19a665a07512b4a0a127a696c8a89adc69ef4.zip
combo-25d19a665a07512b4a0a127a696c8a89adc69ef4.tar.gz
combo-25d19a665a07512b4a0a127a696c8a89adc69ef4.tar.bz2
gallery: add missing form to edit title (#33101)
-rw-r--r--combo/apps/gallery/templates/combo/gallery_manager.html4
-rw-r--r--combo/manager/static/css/combo.manager.css4
2 files changed, 6 insertions, 2 deletions
diff --git a/combo/apps/gallery/templates/combo/gallery_manager.html b/combo/apps/gallery/templates/combo/gallery_manager.html
index 9cb7d00..a2befa4 100644
--- a/combo/apps/gallery/templates/combo/gallery_manager.html
+++ b/combo/apps/gallery/templates/combo/gallery_manager.html
@@ -20,4 +20,8 @@
<script src="{% static "js/combo.gallery.js" %}"></script>
<script>gallery($('#gallery-{{cell.id}}'));</script>
+<div class="edit-form">
+{{form.as_p}}
+</div>
+
{% endblock %}
diff --git a/combo/manager/static/css/combo.manager.css b/combo/manager/static/css/combo.manager.css
index 489b7a3..19e239c 100644
--- a/combo/manager/static/css/combo.manager.css
+++ b/combo/manager/static/css/combo.manager.css
@@ -385,8 +385,8 @@ span.error {
max-width: 35rem;
}
-div.gallerycell div.buttons button {
- display: none;
+div.gallerycell div.edit-form {
+ clear: both;
}
ul.gallery {