Sha256: 73cb61b3014e6c996ec3dcbee9d17f7feeed76806fe6e8257099802b1f183290

Contents?: true

Size: 860 Bytes

Versions: 9

Compression:

Stored size: 860 Bytes

Contents

.navbar.navbar-default.navbar-fixed-top
  .container
    .navbar-header
      =link_to :AppTitle, '#', class: 'navbar-brand'
      %button.navbar-toggle{"data-target" => "#navbar-main", "data-toggle" => "collapse", :type => "button"}
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
    #navbar-main.navbar-collapse.collapse
      %ul.nav.navbar-nav
        %li
          =link_to :About
      %ul.nav.navbar-nav.navbar-right
        -if Rails.env.development?
          %li
            =link_to :UI, '/ui'
          %li
            =link_to 'Mailer Previews', '/rails/mailers'
        -#
          %li
            -if user_signed_in?
              =link_to fa_icon('sign-out', text: 'Sign Out'), destroy_user_session_path, method: :delete
            -else
              =link_to fa_icon('sign-in', text: 'Sign In'), new_user_session_path

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
myrails-2.2.1 lib/myrails/templates/layout/_nav.html.haml
myrails-2.2.0 lib/myrails/templates/layout/_nav.html.haml
myrails-2.1.0 lib/myrails/templates/layout/_nav.html.haml
myrails-2.0.0 lib/myrails/templates/layout/_nav.html.haml
myrails-1.1.1 lib/myrails/templates/layout/_nav.html.haml
myrails-1.1.0 lib/myrails/templates/layout/_nav.html.haml
myrails-1.0.2 lib/myrails/templates/layout/_nav.html.haml
myrails-1.0.1 lib/myrails/templates/layout/_nav.html.haml
myrails-1.0.0 lib/myrails/templates/layout/_nav.html.haml