diff options
author | Andrea Lepori <aleporia@gmail.com> | 2023-07-27 12:51:22 +0200 |
---|---|---|
committer | Andrea Lepori <aleporia@gmail.com> | 2023-07-27 12:51:22 +0200 |
commit | 6062edc3e830421bfe84f01945ca5340f28fdd9e (patch) | |
tree | 763bf456f261dec2ded8ba42707b8964bc5cf5b9 /accounts/templates | |
parent | user list and branca tansfer with new uc (diff) | |
download | scout-subs-6062edc3e830421bfe84f01945ca5340f28fdd9e.tar.gz scout-subs-6062edc3e830421bfe84f01945ca5340f28fdd9e.zip |
check complete data before doc creation
Diffstat (limited to '')
-rw-r--r-- | accounts/templates/accounts/user_edit.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/accounts/templates/accounts/user_edit.html b/accounts/templates/accounts/user_edit.html index 44eae5b..6baf9bd 100644 --- a/accounts/templates/accounts/user_edit.html +++ b/accounts/templates/accounts/user_edit.html @@ -205,16 +205,19 @@ <h6>Scheda medica personale</h6> </div> <div class="input-field col s12"> - <input value="{{sickness}}" name="sickness" id="sickness" type="text" data-length="250"> + <input value="{{sickness}}" name="sickness" id="sickness" type="text" data-length="250" {{validation_dic.sickness|safe}}> <label for="sickness">Principali malattie avute</label> + <span class="helper-text" data-error="Campo richiesto"></span> </div> <div class="input-field col l8 s12"> - <input value="{{vaccine}}" name="vaccine" id="vaccine" type="text" data-length="250"> + <input value="{{vaccine}}" name="vaccine" id="vaccine" type="text" data-length="250" {{validation_dic.vaccine|safe}}> <label for="vaccine">Vacinazioni fatte</label> + <span class="helper-text" data-error="Campo richiesto"></span> </div> <div class="input-field col l4 s12"> + <input value="{{tetanus_date}}" name="tetanus_date" id="tetanus_date" type="text" {{validation_dic.tetanus_date|safe}}> <label for="tetanus_date">Ultima vacinazione contro il tetano</label> - <input value="{{tetanus_date}}" name="tetanus_date" id="tetanus_date" type="text" class="datepicker"> + <span class="helper-text" data-error="Campo richiesto"></span> </div> <div class="input-field col s12"> <input value="{{allergy}}" name="allergy" id="allergy" type="text" data-length="250"> |