bulk revert
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<% if CurrentUser.user.blacklisted_tags.present? %>
|
||||
<meta name="blacklisted-tags" content="<%= CurrentUser.user.blacklisted_tags.gsub(/(?:\r|\n)+/, ",") %>">
|
||||
<% end %>
|
||||
<% if flash[:notice] =~ /error/ %>
|
||||
<% if flash[:notice] =~ /error/i %>
|
||||
<meta name="errors" content="true">
|
||||
<% end %>
|
||||
<meta name="enable-js-navigation" content="<%= CurrentUser.user.enable_post_navigation %>">
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
<div id="a-new">
|
||||
<h1>New Bulk Revert</h1>
|
||||
|
||||
<p>You must preview a bulk revert before processing it. Previews may take several minutes to generate.</p>
|
||||
|
||||
<%= form_tag(moderator_bulk_revert_path, :class => "simple_form") do %>
|
||||
<div class="input">
|
||||
<label>Updater</label>
|
||||
<label>User Name</label>
|
||||
<%= text_field :constraints, :user_name, :value => @constraints[:user_name] %>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +31,10 @@
|
||||
</div>
|
||||
|
||||
<%= submit_tag "Test" %>
|
||||
<%#= submit_tag %>
|
||||
|
||||
<% if params[:commit] == "Test" %>
|
||||
<%#= submit_tag %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if @bulk_revert %>
|
||||
|
||||
Reference in New Issue
Block a user