%= form_for(@workflow) do |f| %>
<% if @workflow.errors.any? %>
<%= pluralize(@workflow.errors.count, "error") %> prohibited this workflow from being saved:
<% @workflow.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :description %>
<%= f.text_area :description %>
<%= f.submit %>
<% end %>