16 lines
No EOL
762 B
Text
16 lines
No EOL
762 B
Text
<%= form_for @group || Group.new, url: groups_path do |form| %>
|
|
<h3>Add Group</h3>
|
|
<label for="group_name">Name</label>
|
|
<%= form.text_field :name, label: "Name", class: "name" %>
|
|
<label for="group_desc">Description</label>
|
|
<%= form.text_area :desc, label: "Description", class: "description", :rows => 5 %>
|
|
<label for="group_link">Link</label>
|
|
<%= form.text_field :link, label: "Link", class: "link" %>
|
|
<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" %>
|
|
<%= form.submit "Add Group", class: "add" %>
|
|
<% end %> |