mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
#15: Fix
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.
This commit is contained in:
parent
5d9462b7c3
commit
2f897089fe
17 changed files with 295 additions and 186 deletions
|
|
@ -4,28 +4,28 @@
|
|||
<div id="content" class="edit">
|
||||
<form action="{{servlet-context}}/edit-user" method="POST">
|
||||
<p class="widget">
|
||||
<label for="target">Username</label>
|
||||
<label for="target">{{config.username-prompt}}</label>
|
||||
<input type="text" name="target" id="target" value="{{target}}" required/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="pass1">New password</label>
|
||||
<label for="pass1">{{config.new-pass-prompt}}</label>
|
||||
<input name="pass1" id="pass1" type="password"/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="pass2">And again</label>
|
||||
<label for="pass2">{{config.rpt-pass-prompt}}</label>
|
||||
<input name="pass2" id="pass2" type="password"/>
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="email">Email address</label>
|
||||
<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">Is administrator?</label>
|
||||
<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">When you have finished editing</label>
|
||||
<input name="submit" id="submit" type="submit" class="action" value="Save!"/>
|
||||
<label for="submit">{{config.save-prompt}}</label>
|
||||
<input name="submit" id="submit" type="submit" class="action" value="{{config.save-label}}"/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue