<%= form_for(@promotion) do |f| %> <% if @promotion.errors.any? %>

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

<% end %>
<%= f.label :Title %>
<%= f.text_field :Title %>
<%= f.label :Description %>
<%= f.text_field :Description %>
<%= f.label :ImagePath %>
<%= f.text_field :ImagePath %>
<%= f.label :StartDate %>
<%= f.date_select :StartDate %>
<%= f.label :EndDate %>
<%= f.date_select :EndDate %>
<%= f.submit %>
<% end %>