2013-07-29 06:29:37 +00:00
|
|
|
|
<div id="dialog" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="delete_modal" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h3><%= (delete_options[:title] rescue nil) || t(:delete_) %></h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<span class="text-warning text-center"><%= (delete_options[:warning] rescue nil) || t(:delete_warning) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= (delete_options[:cancel] rescue nil) || t(:close) %></button>
|
2013-09-03 07:04:05 +00:00
|
|
|
|
<%= link_to ((delete_options[:submit] rescue nil) || t(:delete_)), nil, class: "delete-item btn btn-danger", method: :delete, remote: (delete_options[:remote] rescue false) || false %>
|
2013-07-29 06:29:37 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|