edit.html.erb 132 B

123
  1. <h1>Edit <%= singular_table_name.capitalize %></h1>
  2. <%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>