Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
= 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.