Option to notify users when questions have been changed in backend

This commit is contained in:
Martin Gross
2019-07-08 10:21:27 +02:00
parent ca1c387a41
commit fb53beee2d
3 changed files with 66 additions and 31 deletions

View File

@@ -59,6 +59,24 @@
</details>
{% endfor %}
</div>
<div class="panel panel-default items">
<div class="panel-heading">
<h3 class="panel-title">
{% trans "Other operations" %}
</h3>
</div>
<div class="panel-body">
<div class="form-horizontal">
{% bootstrap_form_errors other_form %}
{% if other_form.custom_error %}
<div class="alert alert-danger">
{{ other_form.custom_error }}
</div>
{% endif %}
{% bootstrap_field other_form.notify layout="control" %}
</div>
</div>
</div>
<div class="form-group submit-group">
<a class="btn btn-default btn-lg"
href="{% url "control:event.order" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">