hide is banned option for artists for non-admins

This commit is contained in:
albert
2011-12-30 15:19:00 -05:00
parent 4b32c6ad8f
commit dec514fe2b

View File

@@ -4,7 +4,10 @@
<%= f.input :group_name %>
<%= f.input :url_string, :label => "URLs", :as => :text, :input_html => {:size => "50x5"} %>
<%= f.input :is_active %>
<%= f.input :is_banned %>
<% if CurrentUser.is_admin? %>
<%= f.input :is_banned %>
<% end %>
<%= dtext_field "artist", "notes" %>
<%= f.button :submit, "Submit" %>