From 3e5847a15ff8358c8ccbb2d7f61d13dd1e01a726 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Tue, 15 Aug 2017 12:51:21 -0300 Subject: [PATCH] Modified bulletin form.html to display the new field --- bulletin/templates/bulletin/_form.html | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+), 0 deletions(-) diff --git a/bulletin/templates/bulletin/_form.html b/bulletin/templates/bulletin/_form.html index c6c02af..72b7e20 100644 --- a/bulletin/templates/bulletin/_form.html +++ b/bulletin/templates/bulletin/_form.html @@ -69,6 +69,7 @@
+

{% trans "Bulletin Data" %}


{% trans "Click to download a xls file with the data of the goals" %} {% render_field form.file_content class='file-selector' %} @@ -110,6 +111,47 @@ {% endif %}
+
+ + {% render_field form.indicators class='file-selector' %} + +
+ + + + +
+ +
+ {% if bulletin %} +
+ + {{ bulletin.filename }} + {% else %} + {% trans 'Click or drop the .xls file with the indicators data' %}
+ + {% trans 'The file could not exceed 1MB.' %} + {% endif %} +
+ + {{ form.indicators.help_text }} + + {% if form.indicators.errors %} + + {% endif %} +
+
-- libgit2 0.21.2