blob: a03a4b734acd0604f423d8a90d4eff1fecc2c02a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[% INCLUDE 'admin/header.html' title=tprintf(loc('Editing user %d'), user.id ) -%]
[% PROCESS 'admin/report_blocks.html' %]
[% status_message %]
<form method="post" action="[% c.uri_for( 'user_edit', user.id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<input type="hidden" name="token" value="[% token %]" >
<input type="hidden" name="submit" value="1" >
<ul>
<li>[% loc('Name:') %] <input type='text' name='name' id='name' value='[% user.name | html %]'></li>
<li>[% loc('Email:') %] <input type='text' id='email' name='email' value='[% user.email | html %]'></li>
<li>[% loc('Council:') %] <select id='council' name='council'>
<option value=''>[% loc('No council') %]</option>
[% FOR council IN council_ids %]
<option value="[% council %]"[% ' selected' IF council == user.from_council %]>[% council_details.$council.name %]</option>
[% END %]
</select>
<li>[% loc('Flagged:') %] <input type="checkbox" id="flagged" name="flagged"[% user.flagged ? ' checked' : '' %]></li>
</ul>
<input type="submit" name="Submit changes" value="[% loc('Submit changes') %]" ></form>
[% INCLUDE 'admin/footer.html' %]
|