Edit <%=h @goal.name.capitalize %>

<% form_for :goal, @goal, :url => mg_goal_url(:id => @goal.id), :html => { :method => :put } do |f| %> <%= f.error_messages %> <%= render :partial => 'mg/goals/goal_form', :locals => { :f => f } %> <% end %>