railties/lib/rails/generators/erb/scaffold/templates/edit.html.erb.tt
<%% content_for :title, "Editing <%= human_name.downcase %>" %>
<h1>Editing <%= human_name.downcase %></h1>
<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
<br>
<div>
<%%= link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %> %> |
<%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper(type: :path) %> %>
</div>