Make reason for manuel booking required. fixes #90

This commit is contained in:
CodeSteak 2020-06-20 23:35:56 +02:00
parent ffea25c082
commit f128a8b9ed
2 changed files with 3 additions and 2 deletions

View File

@ -93,7 +93,8 @@
<fieldset>
<input type="radio" id="r-manual" th:field="*{reason}" value="Manual">
<label for="r-manual">Manuell</label>
<input placeholder="Grund" class="full-width" type="text" th:field="*{reasonText}" value=""/>
<input placeholder="Grund" class="full-width" type="text" th:field="*{reasonText}" value=""
required="required"/>
</fieldset>
</fieldset>
</div>

View File

@ -34,7 +34,7 @@
</div>
<div class="l">
<label for="reason">Grund:</label>
<input placeholder="Grund" class="full-width" type="text" name="reason" value=""/>
<input placeholder="Grund" class="full-width" type="text" name="reason" value="" required="required"/>
</div>
<div class="s">