10 lines
No EOL
473 B
Text
10 lines
No EOL
473 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" %>
|
|
<%= form.submit "Add Group", class: "add" %>
|
|
<% end %> |