add secondary validations to aliases+implications+requests
This commit is contained in:
@@ -20,6 +20,16 @@ update aaa -> bbb
|
||||
<%= dtext_field "bulk_update_request", "reason", :name => "Reason" %>
|
||||
</div>
|
||||
|
||||
<% if @bulk_update_request.errors.any? %>
|
||||
<div class="input">
|
||||
<label class="checkbox optional" for="bulk_update_request_skip_secondary_validations">
|
||||
<%= check_box "bulk_update_request", "skip_secondary_validations" %>
|
||||
Skip validations
|
||||
</label>
|
||||
<p class="hint">You can ignore the wiki page and minimum count requirements</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= f.input :forum_topic_id, :hint => " (optional)" %>
|
||||
<%= f.button :submit, :value => "Submit" %>
|
||||
<%= dtext_preview_button "bulk_update_request", "reason" %>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<%= link_to "Approve", approve_bulk_update_request_path(request), :remote => true, :method => :post %> |
|
||||
<% end %>
|
||||
<% if request.editable?(CurrentUser.user) %>
|
||||
<%= link_to "Delete", bulk_update_request_path(request), :method => :delete, :remote => true, :data => {:confirm => "Are you sure you want to delete this bulk update request?"} %> |
|
||||
<%= link_to "Reject", bulk_update_request_path(request), :method => :delete, :remote => true, :data => {:confirm => "Are you sure you want to reject this bulk update request?"} %> |
|
||||
<%= link_to "Edit", edit_bulk_update_request_path(request) %>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user