secret
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14
= semantic_form_for [current_user, ew.exercise], :url => user_exercise_log_entries_path(current_user, ew.exercise) do |exercise|
%table
%thead
%tr
%th.set Set #
%th.reps Reps
%th.weight Weight
%tbody
= exercise.semantic_fields_for :log_entries do |log_entry|
= render 'log_entry_fields', :f => log_entry
.links
= link_to_add_association 'Add Set', exercise, :log_entries
= exercise.actions do
= exercise.action :submit

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.