feat: Starting users view controller.
This commit is contained in:
37
Resources/Views/user-form.leaf
Normal file
37
Resources/Views/user-form.leaf
Normal file
@@ -0,0 +1,37 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user