36 lines
841 B
Plaintext
36 lines
841 B
Plaintext
#extend("htmx-form", htmxForm):
|
|
#export("formBody"):
|
|
<input type="hidden"
|
|
id="vendorId"
|
|
name="id"
|
|
#if(context.vendor.id):
|
|
value="#(context.vendor.id)"
|
|
#endif
|
|
>
|
|
|
|
<input type="text"
|
|
id="name"
|
|
name="name"
|
|
placeholder="Vendor Name"
|
|
autofocus
|
|
required
|
|
#if(context.vendor.name):
|
|
value="#(context.vendor.name)"
|
|
#endif
|
|
>
|
|
<br>
|
|
<input type="text"
|
|
id="branches"
|
|
name="branches"
|
|
#if(context.branches):
|
|
value="#(context.branches)"
|
|
#endif
|
|
placeholder="Monroe, Dayton..."
|
|
>
|
|
<br>
|
|
<input type="submit" value="#(context.buttonLabel)">
|
|
<br>
|
|
<p><small>Mutliple branches can be specified separated by a comma.</small></p>
|
|
#endexport
|
|
#endextend
|