added participation acceptance field

This commit is contained in:
2024-12-20 15:36:13 +01:00
parent 14c2a50503
commit 7807dad400
4 changed files with 34 additions and 1 deletions

View File

@@ -182,6 +182,23 @@
Der/die Tourenleiter/in wird dir also persönlich per E-Mail zu- oder absagen.
</small></p>
</div>
{% if form.participation_conditions_accepted.errors %}
<div class="has-error">
{% endif %}
<div class="checkbox">
<label>
<input type="checkbox" name="participation_conditions_accepted" {% if form.participation_conditions_accepted.value %}checked="checked"{% endif %}>
{% trans 'Ich habe den oben erläuterten Teilnahmevorbehalt und die <a href="">Teilnahmebedingungen</a> gelesen und akzeptiert.' %}
</label>
</div>
{% if form.participation_conditions_accepted.errors %}
<div class="help-block">
{% for error in form.participation_conditions_accepted.errors %}
<p>{{ error }}</p>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
<div class="row">&nbsp;</div>