Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Todos controller, edit action</h1>
- <p>Edit this file in <tt>app/views/todos/edit.html.erb</tt></p>
- <%= error_messages_for :todo %>
- <% form_for(@todo, :action => url(:todo, @todo)) do %>
- <p>
- <%= submit_button "Update" %>
- </p>
- <% end %>
- <%= link_to 'Show', url(:todo, @todo) %> |
- <%= link_to 'Back', url(:todos) %>
Add Comment
Please, Sign In to add comment