2011-07-29 07:52:04 -07:00
|
|
|
- secondary_nav do
|
2013-01-01 18:42:58 -08:00
|
|
|
= link_to t('.your_items_link'), user_closet_hangers_path(current_user), :class => 'button'
|
2011-07-29 07:52:04 -07:00
|
|
|
|
2011-07-26 17:27:23 -07:00
|
|
|
= form_for [@closet_list.user, @closet_list] do |f|
|
|
|
|
%ul.fields
|
|
|
|
%li
|
|
|
|
= f.label :name
|
2013-01-09 15:38:03 -08:00
|
|
|
%span.hint= t '.name.hint'
|
2011-07-26 17:27:23 -07:00
|
|
|
= f.text_field :name, :required => true
|
|
|
|
%li
|
2013-01-09 15:38:03 -08:00
|
|
|
= f.label :hangers_owned, t('.hangers_owned.label')
|
2011-07-26 17:27:23 -07:00
|
|
|
= f.select :hangers_owned, hangers_owned_options
|
2011-07-30 19:34:27 -07:00
|
|
|
%li
|
2013-01-09 15:38:03 -08:00
|
|
|
= f.label :visibility, t('.visibility.label')
|
2013-01-01 18:42:58 -08:00
|
|
|
= f.select :visibility, long_closet_visibility_choices(:list)
|
2011-07-26 17:27:23 -07:00
|
|
|
%li
|
|
|
|
= f.label :description
|
2013-01-09 15:38:03 -08:00
|
|
|
%span.hint= t '.description.hint'
|
2011-07-26 17:27:23 -07:00
|
|
|
= f.text_area :description
|
2013-01-09 15:38:03 -08:00
|
|
|
%span.hint= t '.description.markup_hint_html'
|
2013-01-01 18:42:58 -08:00
|
|
|
= f.submit t('.submit')
|
2011-07-26 17:27:23 -07:00
|
|
|
|