mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
{% extends "templates/base.html" %}
|
|
|
|
{% block content %}
|
|
<div id="content" class="edit">
|
|
<form action="{{servlet-context}}/edit-user" method="POST">
|
|
<p class="widget">
|
|
<label for="target">Username</label>
|
|
<input type="text" name="target" id="target" value="{{target}}" required/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="pass1">New password</label>
|
|
<input name="pass1" id="pass1" type="password"/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="pass2">And again</label>
|
|
<input name="pass2" id="pass2" type="password"/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="email">Email address</label>
|
|
<input name="email" id="email" type="text" value="{{details.email}}" required/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="admin">Is administrator?</label>
|
|
<input name="admin" id="admin" type="checkbox" {% if details.admin %}checked{% endif %}/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="submit">When you have finished editing</label>
|
|
<input name="submit" id="submit" type="submit" class="action" value="Save!"/>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|