Commit f78fd65a authored by Robert Czechowski's avatar Robert Czechowski

Template jwinf: Require field grade, optionally allow grade to be 'not yet in...

Template jwinf: Require field grade, optionally allow grade to be 'not yet in school' with template argument
parent d153c56e
...@@ -87,8 +87,11 @@ ...@@ -87,8 +87,11 @@
{{/if}} {{/if}}
<tr> <tr>
<td>Jahrgangsstufe:</td><td> <td>Jahrgangsstufe:</td><td>
<select name="grade"> <select name="grade" required>
<option value="0" {{ sel0 }}>Noch kein Schüler</option> <option value=""></option>
{{#if allow_notyetstudent}}
<option value="0" {{ sel0 }}>Noch kein Schüler</option>
{{/if}}
<option value="1" {{ sel1 }}>1</option> <option value="1" {{ sel1 }}>1</option>
<option value="2" {{ sel2 }}>2</option> <option value="2" {{ sel2 }}>2</option>
<option value="3" {{ sel3 }}>3</option> <option value="3" {{ sel3 }}>3</option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment