From ad334315dcbf17e40424e3be8e5deb3828ed3b09 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Fri, 18 May 2018 08:00:12 -0400 Subject: [PATCH] Support multi-image posting. The javascript could be refactored a little cleaner, I think. --- brutaldon/templates/main/post_partial.html | 86 ++++++++++++++++++++-- 1 file changed, 81 insertions(+), 5 deletions(-) diff --git a/brutaldon/templates/main/post_partial.html b/brutaldon/templates/main/post_partial.html index a49dad0..d637ad3 100644 --- a/brutaldon/templates/main/post_partial.html +++ b/brutaldon/templates/main/post_partial.html @@ -52,6 +52,62 @@ +
+
+ +
+
+ {% render_field form.media_text_2 class+="input" placeholder="Describe attachment" %} +
+
+ +
+
+ +
+
+ {% render_field form.media_text_3 class+="input" placeholder="Describe attachment" %} +
+
+
+
+ +
+
+ {% render_field form.media_text_4 class+="input" placeholder="Describe attachment" %} +
+
+
{{ form.errors }} @@ -67,13 +123,33 @@ {% if not fullbrutalism %} {% endif %}