Sha256: c2454ee6f99e00b8f62e595d8d34add11edb6bff94d2435192b587ca44351eb6
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
%nav.navbar.navbar-inverse.navbar-fixed-top .container #navbar.collapse.navbar-collapse %ul.nav.navbar-nav.navbar-left %li = link_to "Home", "/" %ul.nav.navbar-nav.navbar-right - if logged_in? - if superuser? %li.dropdown %a.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :href => "#", :role => "button"} Admin %span.caret %ul.dropdown-menu %li %a{:href => admin_users_path} Users - if Rails.env.development? %li.dropdown %a.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :href => "#", :role => "button"} Developer %span.caret %ul.dropdown-menu %li %a{:href => admin_users_path} Users %li.dropdown %a.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :href => "#", :role => "button"} Logged in as #{current_user.full_name} %span.caret %ul.dropdown-menu - if Rails.env.development? - if superuser? %li %a{:href => admin_toggle_superuser_path} Disable superuser - else %li %a{:href => admin_toggle_superuser_path} Enable superuser %li %a{:href => logout_path} Logout - else %li = link_to('Login', login_path)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ucb_rails_cli-0.9.0 | lib/ucb_rails_cli/templates/views/_navigation.html.haml |