aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/user_edit.html
blob: df1cb221f136066d90125f4754a33890efebc0f0 (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('Body:') %] <select id='body' name='body'>
    <option value=''>[% loc('No body') %]</option>
[% FOR body IN bodies %]
    <option value="[% body.id %]"[% ' selected' IF body.id == user.from_body.id %]>[% body.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' %]