From f2e31025626cfdd6e2d72a22ddb883ba052bbf3d Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 29 Jun 2011 11:21:44 -0700 Subject: [PATCH] Make the aspect_dropdown_list_item easier to read --- app/helpers/aspect_global_helper.rb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/helpers/aspect_global_helper.rb b/app/helpers/aspect_global_helper.rb index f55595d2d..4c8db12bb 100644 --- a/app/helpers/aspect_global_helper.rb +++ b/app/helpers/aspect_global_helper.rb @@ -87,15 +87,16 @@ module AspectGlobalHelper klass = checked ? "selected" : "" hidden = !checked ? "hidden" : "" - str = "
  • " - #str << "" - str << "" - str << "" - str << aspect.name - str << "
    " - str << aspect_membership_button(aspect, contact, person) - str << "
    " - str << "
  • " + str = < + + + #{aspect.name} +
    + #{aspect_membership_button(aspect, contact, person)} +
    + +LISTITEM str.html_safe end end