2013-08-05 01:07:11 -04:00
|
|
|
<%= form_for @workout do |f| %>
|
2013-08-10 08:36:43 -04:00
|
|
|
<% if @workout.errors.any? %>
|
|
|
|
<ul>
|
|
|
|
<% @workout.errors.full_messages.each do |message| %>
|
|
|
|
<li><%= message %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
2013-08-05 01:07:11 -04:00
|
|
|
<%= f.label :date %>
|
|
|
|
<%= f.text_field :date %>
|
|
|
|
<%= f.submit nil %>
|
|
|
|
<% end %>
|