Sha256: 422ef6091ea1a394e4fe1e914a6fe83dd786792c4e9b78702e6715a02e95546d

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

- page_title 'Profiles'

%div#profiles
  %h2 Profiles
  / FIXME - disabling sort links as default is now sorted by profile name
  / and there's no ability to sort by created time (until it's saved with
  / profiles on creation)
  /%div#sort
  /  Sort by:
  /  %a{:href => link_to("/profiles?sort=name")} name
  /  |
  /  %a{:href => link_to("/profiles?sort=created")} created

  %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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
visage-app-2.1.0 lib/visage-app/views/profiles.haml