Sha256: 53458ece82ddea4c8250e08eecb4f450e247384061d82354f9373590bf08102a

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

        <p>Are you sure you want to delete the <%= @model_name.snake_case.gsub('_', ' ') %>? All of the following related items will be deleted:</p>
        <ul>
          <li>
            <%= link_to(@model_name, slice_url(:admin_edit, :model_name => @model_name.snake_case, :id => @object.id))%>
          </li>
        </ul>
        <%= form_for(@object, :action => slice_url(:admin_destroy, :model_name => @model_name.snake_case, :id => @object.id), :method => :delete) do %>
          <div>
            <%= submit "Yes, I'm sure" %>
          </div>
        <% end =%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sferik-merb-admin-0.2.7 app/views/main/delete.html.erb