aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/user_edit.html
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-19 00:08:15 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-19 00:08:15 +0100
commita9a4fed583d7467c9c1f1fa56d42bcb75b4b488c (patch)
tree72941901b1bad732047bc6289139a387b049e6e8 /templates/web/default/admin/user_edit.html
parent302f5961f5da13e8124e8d2e91e52a29f141946f (diff)
parent61e6d5928be1bedb68607f8fa36f0d971711a3f8 (diff)
Merge branch 'new_statuses'
Diffstat (limited to 'templates/web/default/admin/user_edit.html')
-rw-r--r--templates/web/default/admin/user_edit.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/web/default/admin/user_edit.html b/templates/web/default/admin/user_edit.html
new file mode 100644
index 000000000..7db8f5c63
--- /dev/null
+++ b/templates/web/default/admin/user_edit.html
@@ -0,0 +1,21 @@
+[% 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>
+</ul>
+<input type="submit" name="Submit changes" value="[% loc('Submit changes') %]" ></form>
+
+[% INCLUDE 'admin/footer.html' %]