%= form_for @workout do |f| %>
<% if @workout.errors.any? %>
<% @workout.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :date %>
<%= f.text_field :date %>
<%= f.label :day_type %>
<%= f.select :day_type, [["Heavy", :heavy], ["Medium", :medium],
["Light", :light]] %>
<%= f.label :comment %>
<%= f.text_area :comment, rows: 7, cols: 60 %>
<%= f.submit nil %>
<% end %>