ShareDAV/templates/create-user.html

21 lines
755 B
HTML

{{ define "page-content" }}
<form method="post" class="dialog">
<div class="form-content">
<label for="username">Username</label>
<input name="username" id="username" placeholder="Username"/>
<label for="role">Role</label>
<select name="role" id="role">
<option value="user" selected>User</option>
<option value="admin">Admin</option>
</select>
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password"/>
</div>
<div class="form-controls">
<input type="submit" value="Create User"/>
</div>
</form>
{{ end }}