% days_of_week = [ ["Monday", 0], ["Tuesday", 1], ["Wednesday", 2], ["Thursday", 3], ["Friday", 4], ["Saturday", 5], ["Sunday", 6], ] %>
Location: <%=h @session.location.name %>
<%=h @session.start_date %> - <%=h @session.end_date %>
<% if @session.jackrabbit_session_name? %>Program | Day | Start time | End time |
---|---|---|---|
<%= f.select 'program_id', Program.find(:all).collect {|p| [ p.name, p.id ] }, { :include_blank => true } %> | <%= f.select :day, days_of_week %> | <%= f.time_select :start_time %> | <%= f.time_select :end_time %> |