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

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

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :category %>
<%= f.text_field :category %> (suggested: <%= Space.categories.join(", ") %>)
<%= f.label :address %>
<%= f.text_field :address %>
<%= f.label :city %>
<%= f.text_field :city %>
<%= f.label :state %>
<%= f.text_field :state %>
<%= f.label :hours %>
<%= f.text_field :hours %>
<%= f.label :phone %>
<%= f.text_field :phone %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :website %>
<%= f.text_field :website %>
<%= f.label :description %>
<%= f.text_area :description %>
<%= f.submit %>
<% end %>