moved artist ban to separate action/button
This commit is contained in:
@@ -5,10 +5,6 @@
|
||||
<%= f.input :url_string, :label => "URLs", :as => :text, :input_html => {:size => "50x5"} %>
|
||||
<%= f.input :is_active %>
|
||||
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<%= f.input :is_banned %>
|
||||
<% end %>
|
||||
|
||||
<%= dtext_field "artist", "notes" %>
|
||||
<%= f.button :submit, "Submit" %>
|
||||
<%= dtext_preview_button "artist", "notes" %>
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
<li><%= link_to "Show", artist_path(@artist) %></li>
|
||||
<li><%= link_to "Edit", edit_artist_path(@artist) %></li>
|
||||
<li><%= link_to "History", artist_versions_path(:search => {:artist_id => @artist.id}) %></li>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<%= link_to "Ban", ban_artist_path(@artist), :method => :put %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</menu>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user