friends2/app/views/friends/edit.html.erb

7 lines
133 B
Plaintext

<h1>Editing Friend</h1>
<%= render 'form', friend: @friend %>
<%= link_to 'Show', @friend %> |
<%= link_to 'Back', friends_path %>