parent
a8fc0ab70c
commit
634f7e41e2
@ -0,0 +1,8 @@
|
||||
<div hx-target="this" hx-swap="outerHTML">
|
||||
<label for="content" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Content</label>
|
||||
<textarea id="about-content" name="content" hx-post="/htmx/validation/about/" rows="4" class="block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-[#3b82f6] focus:border-[#3b82f6] dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-[#3b82f6] dark:focus:border-[#3b82f6]" placeholder="Write about you and your blog here"
|
||||
{{#if error}}aria-invalid="true"{{/if}}>{{ about-content }}</textarea>
|
||||
{{#if error}}
|
||||
<div class='text-sm font-bold leading-tight tracking-tight text-red-600 mt-2'>{{ error }}</div>
|
||||
{{/if}}
|
||||
</div>
|
Loading…
Reference in new issue