aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_user/_form.rhtml
blob: 229b74d901c6b089495a865bff0c21e2798adb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%= error_messages_for 'admin_user' %>

<!--[form:admin_user]-->

<p><label for="admin_user_name">Name</label> (will change URL name and break URLs; unlike authorities, there is no history; you will need to rebuild the search index afterwards)<br/>
<%= text_field 'admin_user', 'name', :size => 60  %></p>

<p><label for="admin_user_email">Email</label> (<strong>you must</strong> first validate this)<br/>
<%= text_field 'admin_user', 'email', :size => 60  %></p>

<p><label for="admin_level">Admin level</label> (<strong>none</strong> or <strong>super</strong>; this is for admin features and links which are in the site proper)<br/>
<%= text_field 'admin_user', 'admin_level', :size => 60  %></p>

<p><label for="ban_text">Ban text</label> <small>(if not blank will stop the user from filing new requests, making annotations or messaging other users; the text is used in the user/banned.rhtml template, e.g. put "Unfortunately, you have repeatedly broken our moderation policy."</small>)<br/>
<%= text_area 'admin_user', 'ban_text', :cols => 60, :rows => 3  %></p>