tracks/app/views/todos/mobile_show_notes.rhtml
Reinier Balt 484356fe07 small improvements
render :partial => filename, :object => @object can be written shorter since rails 2.0 like
render :partial => @object or render :partial => @collection
Also form_for is smart bout put and post for update and creation.

it helps watching older railcasts episodes :-)
2011-02-03 18:17:28 +01:00

5 lines
No EOL
283 B
Text

<h2><%= t('todos.next_action_description') + " (" + link_to(t('common.go_back'), @return_path) %>)</h2>
<%= link_to @todo.description, todo_path(@todo, :format => 'm') -%>
<h2><%= t('todos.notes') %></h2>
<%= format_note(@todo.notes) %>
<%= link_to t('common.back'), @return_path %>