Files
vapor-po/Resources/Views/user-form.leaf

38 lines
873 B
Plaintext

<form class="user-form"
id="user-form"
hx-post="#(htmxTargetUrl)"
hx-target="#(htmxTarget)"
hx-push-url="#(htmxPushUrl)"
>
<label for="username">Username</label>
<input type="text"
id="username"
name="username"
placeholder="Username"
autofocus
required
>
<br>
<label for="password">Password</label>
<input type="password"
id="password"
name="password"
placeholder="Password"
autofocus
required
>
<br>
#if(showConfirmPassword):
<label for="confirmPassword">Password</label>
<input type="password"
id="confirmPassword"
name="confirmPassword"
placeholder="Confirm Password"
autofocus
required
>
<br>
#endif
<input type="submit" value="#(buttonLabel)">
</form>