bulk revert

This commit is contained in:
Albert Yi
2016-11-04 11:33:59 -07:00
parent 619beb00af
commit a22a7c3302
5 changed files with 67 additions and 19 deletions

View File

@@ -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 %>