You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.0 KiB
22 lines
1.0 KiB
<h4> |
|
<%= t("admin.form.are_you_sure_you_want_to_ban", |
|
:model_name => @abstract_model.pretty_name.downcase) %> |
|
“ |
|
<strong><%= @model_config.with(:object => @object).object_label %></strong> |
|
” |
|
<%= t("admin.form.all_of_the_following_related_items_will_be_deleted") %> |
|
</h4> |
|
<ul> |
|
<%= render :partial => "delete_notice", :object => @object %> |
|
</ul> |
|
<%= form_for(@object, :url => ban_path(:model_name => @abstract_model.to_param, :id => @object.id), :html => {:method => "patch"}) do %> |
|
<input name="return_to" type="<%= :hidden %>" value="<%= (params[:return_to].presence || request.referer) %>"></input> |
|
<div class="form-actions"> |
|
<button class="btn btn-danger" data-disable-with="<%= t("admin.form.confirmation") %>" type="submit"> |
|
<i class="icon-white icon-ok"></i> <%= t("admin.form.confirmation") %> |
|
</button> |
|
<button class="btn" data-disable-with="<%= t("admin.form.cancel") %>" name="_continue" type="submit"> |
|
<i class="icon-remove"></i> <%= t("admin.form.cancel") %> |
|
</button> |
|
</div> |
|
<% end %>
|
|
|