<%= 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 %>

<%= f.label :date %> <%= f.date_select :date %>

<%= f.label :time_up %>: <%= f.time_select :time_up, {:default => Time.now, :minute_step => 15} %> <%= f.label :time_down %>: <%= f.time_select :time_down, {:default => Time.now, :minute_step => 15} %>

How well have you been keeping up on...
<%= f.label :meals %>: <%= f.select :diet_score, %w[0 1 2 3 4 5] %> <%= f.label :supplements %>: <%= f.select :supplement_score, %w[0 1 2 3 4 5] %> <%= f.label :water %>: <%= f.select :water_score, %w[0 1 2 3 4 5] %>

What can you improve on for tomorrow?
<%= f.text_area :improvements, :size => '50x6' %>

Daily Meals:

Additional Comments/Notes:
<%= f.text_area :general, :size => '50x6' %>

<%= f.submit %>

Supplements:

<% InstructionTime.all.each do |inst| %>

<%=inst.name%>

<% @user_supplements = UserSupplement.find_all_by_supplement_plan_id(@enrollment.supplement_plan_id, :conditions => { :instruction_time_id => inst.id }) %> <% @user_supplements.each do |us| %> <% end %> <% end %>
<% end %>