fully implemented timezone list dialog field
This commit is contained in:
+4
-1
@@ -144,9 +144,12 @@
|
||||
{{ .Caption }}{{ if .Subcaption != "" }} {{ .Subcaption }}{{ end }}
|
||||
{{ if .Required }}<span class="text-red-600">*</span>{{ end }}
|
||||
</label>
|
||||
{{ v := .Value }}
|
||||
<select id="{{ .Name }}" name="{{ .Name }}" {{ if .Required }}required{{ end }}
|
||||
class="flex-1 max-w-md px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
|
||||
<option value="XX">Unknown</option>{* TODO *}
|
||||
{{ range GetTimeZoneList() }}
|
||||
<option value="{{ . }}" {{ if v == . }}selected{{ end }}>{{ . }}</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
</div>
|
||||
{{ else if .Type == "date" }}
|
||||
|
||||
Reference in New Issue
Block a user