Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielgrippi <danielgrippi@gmail.com>2011-05-12 02:47:13 +0400
committerdanielgrippi <danielgrippi@gmail.com>2011-05-12 02:47:13 +0400
commitc67d1437197b8c91ded3549ad10096fdfb5443eb (patch)
tree6d7a7b22469180d9cbecc88610538315c4163c1b /app/views/contacts/sharing.haml
parent9f3044838d4054c18b7770b725c9056ad2ec1ec8 (diff)
dropdown in ContactsController#sharing now works
Diffstat (limited to 'app/views/contacts/sharing.haml')
-rw-r--r--app/views/contacts/sharing.haml6
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'