mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 03:58:49 +01:00
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 :-)
5 lines
No EOL
283 B
Text
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 %> |