<%= form_tag params_for(:action => :destroy, :id => params[:id]), { :method => :delete } %>

<%= as_(:are_you_sure_to_delete, :label => h(@record&.to_label)) -%>