mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Rather nice and satisfactory. Slightly conflates the issue of configuration and internationalisation at present, but I think internationalisation is a target to hit as a separate job.
32 lines
1.5 KiB
HTML
32 lines
1.5 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">{{config.username-prompt}}</label>
|
|
<input type="text" name="target" id="target" value="{{target}}" required/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="pass1">{{config.new-pass-prompt}}</label>
|
|
<input name="pass1" id="pass1" type="password"/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="pass2">{{config.rpt-pass-prompt}}</label>
|
|
<input name="pass2" id="pass2" type="password"/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="email">{{config.email-prompt}}</label>
|
|
<input name="email" id="email" type="text" value="{{details.email}}" required/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="admin">{{config.is-admin-prompt}}</label>
|
|
<input name="admin" id="admin" type="checkbox" {% if details.admin %}checked{% endif %}/>
|
|
</p>
|
|
<p class="widget">
|
|
<label for="submit">{{config.save-prompt}}</label>
|
|
<input name="submit" id="submit" type="submit" class="action" value="{{config.save-label}}"/>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|