diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-05-12 02:47:13 +0400 |
---|---|---|
committer | danielgrippi <danielgrippi@gmail.com> | 2011-05-12 02:47:13 +0400 |
commit | c67d1437197b8c91ded3549ad10096fdfb5443eb (patch) | |
tree | 6d7a7b22469180d9cbecc88610538315c4163c1b /app/views/contacts/sharing.haml | |
parent | 9f3044838d4054c18b7770b725c9056ad2ec1ec8 (diff) |
dropdown in ContactsController#sharing now works
Diffstat (limited to 'app/views/contacts/sharing.haml')
-rw-r--r-- | app/views/contacts/sharing.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/contacts/sharing.haml b/app/views/contacts/sharing.haml index 5ff074df0..0633f20b1 100644 --- a/app/views/contacts/sharing.haml +++ b/app/views/contacts/sharing.haml @@ -35,9 +35,13 @@ %ul.dropdown_list - for aspect in @all_aspects %li{:data => {:aspect_id => aspect.id}} - = check_box_tag "yo" + = check_box_tag "yo", "hey", aspect.contacts.include?(contact) = aspect.name + .hidden + = aspect_membership_button(aspect, contact, contact.person) + + %br %div{:style => "text-align:right;"} = link_to t('aspects.edit.done'), '#', :class => 'button', :rel => 'close' |