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

12 lines
563 B
Plaintext

{{ block "textareaInput" . }}
<label for="{{.Name}}"
{{template "labelStyle"}}>
{{.Label}}
</label>
<textarea id="{{.Name}}"
rows="4"
aria-label="{{.Label}}"
class="block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 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}}</textarea>
{{ end }}