error modals are so on
This commit is contained in:
@@ -13,7 +13,7 @@ templ Test() {
|
||||
</h1>
|
||||
<!-- Form Card -->
|
||||
<div class="bg-surface0 rounded-lg shadow-lg p-6 border border-overlay0">
|
||||
<form hx-post="/test" hx-swap="none" class="flex flex-col gap-4">
|
||||
<form hx-post="/notification-tester" hx-swap="none" class="flex flex-col gap-4">
|
||||
<!-- Notification Type -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<label for="type" class="text-sm font-semibold text-subtext1">
|
||||
@@ -27,15 +27,16 @@ templ Test() {
|
||||
<option value="success">Success Toast</option>
|
||||
<option value="info">Info Toast</option>
|
||||
<option value="warn">Warning Toast</option>
|
||||
<!-- <option value="error">Error Modal</option> -->
|
||||
<option value="error">Error Modal</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Target Input -->
|
||||
<div class="flex flex-col gap-2">
|
||||
<label for="target" class="text-sm font-semibold text-subtext1">
|
||||
Title
|
||||
Target
|
||||
</label>
|
||||
<input
|
||||
required
|
||||
type="text"
|
||||
name="target"
|
||||
id="target"
|
||||
|
||||
Reference in New Issue
Block a user