%= form_for(@activity) do |f| %>
<% if @activity.errors.any? %>
<%= pluralize(@activity.errors.count, "error") %> prohibited this activity from being saved:
<% @activity.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :categories %>
<%= f.text_field :categories, {:value => @activity.activity_categories.map(&:name).join(', ')} %>
<%= f.label :neighborhood %>
<%= f.text_field :neighborhood %>
<%= render 'addresses/embedded_form', :address => @activity.address %>
<%= f.label :price %>
<%= f.text_field :price %>
<%= f.label :dates %>
<%= f.text_field :dates %>
<%= f.label :url %>
<%= f.text_field :url %>
<%= f.label :user %>
<%= f.text_field :user %>
<%= f.label :comment_url %>
<%= f.text_field :comment_url %>
<%= f.label :related %>
<%= f.text_field :related %>
<%= f.submit %>
<% end %>