21 lines
432 B
Plaintext
21 lines
432 B
Plaintext
<form hx-post="/vendors">
|
|
<input type="hidden"
|
|
id="vendorId"
|
|
name="id"
|
|
#if(vendor.id):
|
|
value="#(vendor.id)"
|
|
>
|
|
|
|
<input type="text"
|
|
id="name"
|
|
name="name"
|
|
placeholder="Vendor Name"
|
|
autofocus
|
|
required
|
|
#if(vendor.name):
|
|
value="#(vendor.name)"
|
|
#endif
|
|
>
|
|
<input type="submit" value="#(buttonLabel)">
|
|
</form>
|