d821d392/views/components/text-input.gohtml
1970-01-01 00:00:00 +00:00

11 lines
510 B
Plaintext

{{ block "textInput" . }}
<label for="{{.Name}}"
{{template "labelStyle"}}>
{{.Label}}
</label>
<input type="text" id="{{.Name}}"
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
name="{{.Name}}"
value="{{.Value}}"/>
{{ end }}