1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/closet_lists/_form.html.haml

23 lines
726 B
Text
Raw Normal View History

2011-07-29 07:52:04 -07:00
- secondary_nav do
= link_to t('.your_items_link'), user_closet_hangers_path(current_user), :class => 'button'
2011-07-29 07:52:04 -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'
= f.text_field :name, :required => true
%li
2013-01-09 15:38:03 -08:00
= f.label :hangers_owned, t('.hangers_owned.label')
= f.select :hangers_owned, hangers_owned_options
%li
2013-01-09 15:38:03 -08:00
= f.label :visibility, t('.visibility.label')
= f.select :visibility, long_closet_visibility_choices(:list)
%li
= f.label :description
2013-01-09 15:38:03 -08:00
%span.hint= t '.description.hint'
= f.text_area :description
2013-01-09 15:38:03 -08:00
%span.hint= t '.description.markup_hint_html'
= f.submit t('.submit')