hide list description on drag-n-drop

This commit is contained in:
Emi Matchu 2011-07-30 23:07:58 -04:00
parent 824a806140
commit 28c9d1b3d8

View file

@ -11,10 +11,10 @@
= submit_tag 'Delete', :confirm => closet_list_delete_confirmation(closet_list) = submit_tag 'Delete', :confirm => closet_list_delete_confirmation(closet_list)
%h4= closet_list.name %h4= closet_list.name
- if closet_list.description?
= closet_list_description_format closet_list
.closet-list-content .closet-list-content
- if closet_list.description?
= closet_list_description_format closet_list
.closet-list-hangers .closet-list-hangers
- unless closet_list.hangers.empty? - unless closet_list.hangers.empty?
= render_sorted_hangers(closet_list, show_controls) = render_sorted_hangers(closet_list, show_controls)