2012-09-23 02:39:12 +00:00
|
|
|
<%= form_for @group || Group.new, url: groups_path do |form| %>
|
2012-09-24 01:30:48 +00:00
|
|
|
<h3>Add Group</h3>
|
|
|
|
<label for="group_name">Name</label>
|
2012-09-23 02:39:12 +00:00
|
|
|
<%= form.text_field :name, label: "Name", class: "name" %>
|
2012-09-24 01:30:48 +00:00
|
|
|
<label for="group_desc">Description</label>
|
|
|
|
<%= form.text_area :desc, label: "Description", class: "description", :rows => 5 %>
|
|
|
|
<label for="group_link">Link</label>
|
2012-09-23 02:39:12 +00:00
|
|
|
<%= form.text_field :link, label: "Link", class: "link" %>
|
2012-09-24 01:50:45 +00:00
|
|
|
<label for="group_city">City</label>
|
|
|
|
<%= form.text_field :city, class: "city" %>
|
|
|
|
<label for="group_province">Province/State</label>
|
|
|
|
<%= form.text_field :province, class: "province" %>
|
|
|
|
<label for="group_country">Country</label>
|
|
|
|
<%= form.text_field :country, class: "country" %>
|
2012-09-23 02:39:12 +00:00
|
|
|
<%= form.submit "Add Group", class: "add" %>
|
|
|
|
<% end %>
|