Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/polls/templates/poll-structure-form.html
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/polls/templates/poll-structure-form.html')
-rw-r--r--webapp/polls/templates/poll-structure-form.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/polls/templates/poll-structure-form.html b/webapp/polls/templates/poll-structure-form.html
index 7de54de..0b6ed50 100644
--- a/webapp/polls/templates/poll-structure-form.html
+++ b/webapp/polls/templates/poll-structure-form.html
@@ -38,14 +38,16 @@
{% render_structure structure %}
+ {% if not structure.is_read_only %}
<div class="ps-form-toolbar btn-toolbar clearfix">
<div class="btn-group">
<button name="save" class="btn btn-primary"><i class="icon-white icon-edit"></i>&nbsp;{% trans 'Guardar' %}</button>
</div>
</div>
+ {% endif %}
{% csrf_token %}
</form>
-{% endblock %} \ No newline at end of file
+{% endblock %}