!!!
%html
  %head
    %title Issuet
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = csrf_meta_tags
  %body
    %nav.navbar.navbar-default{'role' => 'navigation'}
      .container
        .navbar-header
          %a.navbar-brand{'href' => '/'} Issuet
    .container
      - if notice
        .alert.alert-info.alert-dissmissable
          %button.close{'aria-hidden' => 'true', 'data-dismiss' => 'alert', type: 'button'} &times;
          = notice
      - if alert
        .alert.alert-warning.alert-dissmissable
          %button.close{'aria-hidden' => 'true', 'data-dismiss' => 'alert', type: 'button'} &times;
          = alert
      = yield
  = javascript_include_tag '//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js'

!!!
%html
  %head
    %title Issuet
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = csrf_meta_tags
  %body
    %nav.navbar.navbar-default{'role' => 'navigation'}
      .container
        .navbar-header
          %button.navbar-toggle{'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '#main-navbar'}
            %span.sr-only Toggle Navigation
            - 3.times do
              %span.icon-bar
          %a.navbar-brand{'href' => '/'} Issuet
        .collapse.navbar-collapse#main-navbar
          %ul.nav.navbar-nav.navbar-right
            %li
              - if user_signed_in?
                = link_to 'Sign out', destroy_user_session_path, method: :delete
              - else
                = link_to 'Sign in', new_user_session_path
    .container
      - if notice
        .alert.alert-info.alert-dissmissable
          %button.close{'aria-hidden' => 'true', 'data-dismiss' => 'alert', type: 'button'} &times;
          = notice
      - if alert
        .alert.alert-warning.alert-dissmissable
          %button.close{'aria-hidden' => 'true', 'data-dismiss' => 'alert', type: 'button'} &times;
          = alert
      = yield
  = javascript_include_tag '//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js'

Add sign in/out links to navbar
Add sign in/out links to navbar
