%= form_for(@project) do |f| %>
<% if @project.errors.any? %>
<%= pluralize(@project.errors.count, "error") %> prohibited this project from being saved:
<% @project.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :status %>
<%= f.select(:status, Project.status_keys.keys.map {|status| [status.to_s.titleize, status]}) %>
<%= f.label :requirements_due %>
<%= f.date_select :requirements_due %>
<%= f.label :requirements_completed %>
<%= f.check_box :requirements_completed %>
<%= f.label :design_due %>
<%= f.date_select :design_due %>
<%= f.label :design_completed %>
<%= f.check_box :design_completed %>
<%= f.label :devops_due %>
<%= f.date_select :devops_due %>
<%= f.label :devops_completed %>
<%= f.check_box :devops_completed %>
<%= f.label :qalaunch_due %>
<%= f.date_select :qalaunch_due %>
<%= f.label :qalaunch_completed %>
<%= f.check_box :qalaunch_completed %>
<%= f.submit %>
<% end %>