11 lines
465 B
Twig
11 lines
465 B
Twig
<form hx-post="/" hx-target="#messages" hx-swap="beforeend">
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Name</label>
|
|
<input type="text" name="name" class="form-control" id="name">
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="text" class="form-label">Message</label>
|
|
<textarea class="form-control" name="text" id="text"></textarea>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</form> |