<%= form_for(form_object, :html => {:id => 'edit_folder_form', :class => 'form-horizontal'}) do |f| %>

Add a title and description for your folder. If the visibility is set to "public," other users will be able to view the items in the folder. (Items can only be added or removed by you.)

<%= render 'shared/error_messages', :object => f.object %>
<%= label_tag(:title, content_tag(:span, '*', :class => 'required_field_indicator') + ' Title', :class => 'control-label col-sm-2') %>
<%= f.text_field :title, :class => 'form-control' %>
<%= label_tag(:visibility, content_tag(:span, '*', :class => 'required_field_indicator') + ' Visibility', :class => 'control-label col-sm-2') %>
<%= f.select(:visibility, %w(private public), {}, {:class => 'form-control'}) %>
<%= f.label :description, :class => 'control-label col-sm-2' %>
<%= f.text_area :description, :class => 'form-control', :size => '24x4' %>
<%= f.submit submit_button_text, :class => 'btn btn-primary' %> <% if @folder.id %> <%= link_to 'Cancel', folder_path(@folder.id), :class=>'btn btn-default' %> <% else %> <%= link_to 'Cancel', folders_path, :class=>'btn btn-default' %> <% end %>
<% end %>