diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-29 02:51:00 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-29 02:51:00 +0400 |
commit | 8ce5e72519ca24e6d540f3685389d072f1dd30f9 (patch) | |
tree | 06927f83cf3ce58cf4010a5abc7853b8977fbe0b /app | |
parent | ee95def580165b425ffb8ed828d72e4033a34da1 (diff) |
Use data-aspect_id, because integer html ids freak me out.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/aspects/_aspect_listings.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml index 76b8dada7..edf27e7c6 100644 --- a/app/views/aspects/_aspect_listings.haml +++ b/app/views/aspects/_aspect_listings.haml @@ -11,7 +11,7 @@ %ul.sub_nav - for aspect in all_aspects - %li{:id => aspect.id, :class => ("active" if params["a_id"].to_i == aspect.id)} + %li{:data => {:aspect_id => aspect.id}, :class => ("active" if params["a_id"].to_i == aspect.id)} .edit = link_to image_tag("icons/pencil.svg", :height => 12), edit_aspect_path(aspect), :rel => "facebox" |