Sha256: 41c8bd1fd7f814a9d4ae5439b4698424601b1b70432b57643199db146c261d4d

Contents?: true

Size: 367 Bytes

Versions: 12

Compression:

Stored size: 367 Bytes

Contents

- @active = :section if %w{}.include? controller.controller_name

#launchbar
  %li.arrow= link_to raw("↓"), "#"
  %ul.menus
    %li{:class => "#{'active' if @active == :section}"}= link_to "Root", admin_root_path
    
  %ul.user_panel
    %li= link_to current_user.email, "#"
    %li= link_to t('sign_out'), destroy_user_session_path, :method => :delete

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ideyabox-0.1.12 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.11 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.10 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.9 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.8 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.7 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.6 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.5 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.4 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.3 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.2 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml
ideyabox-0.1.0 lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml