diff --git a/app/views/users/_form.rhtml b/app/views/users/_form.rhtml index 6ca167a59..09a798468 100644 --- a/app/views/users/_form.rhtml +++ b/app/views/users/_form.rhtml @@ -12,7 +12,7 @@

<%= custom_field_tag_with_label @custom_value %>

<% end if @custom_values%> -

<%= f.check_box :admin %>

+

<%= f.check_box :admin, :disabled => (@user == User.current) %>