@@ -0,0 +1,8 @@
|
||||
{{define "season_range"}}
|
||||
<fieldset class='season-range'><legend>{{.Legend}}</legend><div class='form-grid season-range-grid'>
|
||||
<label>Monat von<select name='{{.Prefix}}_month_from'><option value='0'>Nicht angegeben</option>{{range months}}<option value='{{.Value}}' {{if eqInt $.Month .Value}}selected{{end}}>{{.Label}}</option>{{end}}</select></label>
|
||||
<label>Tag von<input type='number' min='1' max='31' name='{{.Prefix}}_day_from' value='{{if .Day}}{{.Day}}{{else}}1{{end}}'></label>
|
||||
<label>Zeitraum<input type='number' min='0' name='{{.Prefix}}_duration' value='{{.Duration}}'></label>
|
||||
<label>Einheit<select name='{{.Prefix}}_duration_unit'><option value='day' {{if eqString .Unit "day"}}selected{{end}}>Tage</option><option value='week' {{if eqString .Unit "week"}}selected{{end}}>Wochen</option><option value='month' {{if eqString .Unit "month"}}selected{{end}}>Monate</option></select></label>
|
||||
</div></fieldset>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user