lib/visage-app/views/profiles.haml in visage-app-0.3.3 vs lib/visage-app/views/profiles.haml in visage-app-0.9.0.pre1
- old
+ new
@@ -6,12 +6,12 @@
Sort by:
%a{:href => link_to("/profiles?sort=name")} name
|
%a{:href => link_to("/profiles?sort=created")} created
- %ul
- - @profiles.each do |prof|
- %li
+ %ul#navigation
+ - @profiles.each_with_index do |prof,index|
+ %li{:class => index == 0 ? 'active shortcut' : 'shortcut'}
%a{:href => link_to("/profiles/#{prof.url}")}= prof.profile_name
%p.create
%a{:href => link_to("/builder")} Create a profile