<%= form_for @program_log do |f| %> <% if @program_log.errors.any? %>

<%= pluralize(@program_log.errors.count, "error") %> prohibited this program log from being saved:

<% end %> <% if !@program_log.id.blank? %>
<% end %>
<%= params[:date] ? Time.mktime(@year,@month,@day).strftime('%A %B %d, %Y') : Time.now.localtime.strftime('%A, %B %d, %Y') %>
<%= collection_select("enrollment", "id", Enrollment.find_all_by_user_id(current_user), "id", "program_name", {:selected=> get_current_enrollment_or_nil }, {:onchange=>"document.location.href='?eid='+this.value"} ) %>
<%= f.hidden_field :date, :value => (params[:date] ? params[:date] : Time.now.localtime.strftime("%m-%d-%Y")) %> <%= f.hidden_field :enrollment_id, :value => session[:enrollment_id] %>
 

Performance

Training

Rate your personal level of intensity in any classes or cardio you've performed today.

Nutrition

Rate your daily adherence to the following nutritional elements.

Meal Logs

Record each meal and/or accompanying supplement(s) you consume throughout the day.

 
<%= f.submit %>
<% end %>