Merge branch 'devel' into 'master'

Check required checkboxes in upload forms by default

See merge request oliver/ivatar!160
This commit is contained in:
Oliver Falk
2020-02-19 12:03:56 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -18,13 +18,13 @@
</div>
<div class="form-group">
<div class="checkbox">
<input type="checkbox" name="not_porn" required id="id_not_porn">
<input type="checkbox" name="not_porn" checked required id="id_not_porn">
<label for="id_not_porn">{% trans 'suitable for all ages (i.e. no offensive content)' %}</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<input type="checkbox" name="can_distribute" required id="id_can_distribute">
<input type="checkbox" name="can_distribute" checked required id="id_can_distribute">
<label for="id_can_distribute">{% trans 'can be freely copied' %}</label>
</div>
</div>

View File

@@ -28,13 +28,13 @@
<div class="form-group">
<div class="checkbox">
<input type="checkbox" name="not_porn" required id="id_not_porn">
<input type="checkbox" name="not_porn" checked required id="id_not_porn">
<label for="id_not_porn"><b>{% trans 'required' %}</b>; {% trans 'suitable for all ages (i.e. no offensive content)' %}</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<input type="checkbox" name="can_distribute" required id="id_can_distribute">
<input type="checkbox" name="can_distribute" checked required id="id_can_distribute">
<label for="id_can_distribute"><b>{% trans 'required' %}</b>; {% trans 'can be freely copied' %}</label>
</div>
</div>