Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 532 Bytes
<h1>Editing <%= singular_name %></h1>
<%%= start_form_tag :action => 'edit<%= @suffix %>', :id => @<%= singular_name %> %>
<%%= render :partial => 'form' %>
<%%= submit_tag 'Save' %>
<%%= end_form_tag %>
<%%= button_to 'Destroy', { :action => 'destroy<%= suffix %>', :id => @<%= singular_name %> }, :confirm => 'Are you sure you want to destroy this <%= singular_name %>?' %>
<%%= link_to 'Show', :action => 'show<%= suffix %>', :id => @<%= singular_name %> %> |
<%%= link_to 'Back to list', :action => 'list<%= suffix %>' %>
Something went wrong with that request. Please try again.