doctype html
html[lang="en"]
  head
    meta[charset="utf-8"]
    meta[name="viewport" content="width=device-width, initial-scale=1.0"]
    title
      = content_for?(:title) ? yield(:title) : "Fee remission staff app"
    = stylesheet_link_tag    "application"
    = javascript_include_tag "vendor/modernizr"
    = javascript_include_tag "application"
    = yield(:javascript) if content_for?(:javascript)
    = csrf_meta_tags
  body
    .contain-to-grid
      nav.top-bar(data-topbar)
        ul.title-area
          li.name
            h1 =link_to 'Help with fees', root_url
          li.toggle-topbar.menu-icon
            a href="#"
              span
        section.top-bar-section
          ul.right
            li
              - if user_signed_in?
                .inline
                  = "Welcome #{current_user.name}"
                  = link_to "Sign out", destroy_user_session_path, :method => :delete
              - else
                = link_to 'Sign in', new_user_session_path
    =render 'layouts/toolbar'
    .row
      .large-12.columns
        - flash.each do |key, value|
          .alert-box class="#{key}" data-alert=''
            |#{value}
            = link_to '&times;'.html_safe, '#', class: 'close'
    .row
      .large-12.columns
        = yield

doctype html
html[lang="en"]
  head
    meta[charset="utf-8"]
    meta[name="viewport" content="width=device-width, initial-scale=1.0"]
    title
      = content_for?(:title) ? yield(:title) : "Fee remission staff app"
    = stylesheet_link_tag    "application"
    = javascript_include_tag "vendor/modernizr"
    = javascript_include_tag "application"
    = yield(:javascript) if content_for?(:javascript)
    = csrf_meta_tags
  body
    .contain-to-grid
      nav.top-bar(data-topbar)
        ul.title-area
          li.name
            h1 =link_to 'Help with fees', root_url
          li.toggle-topbar.menu-icon
            a href="#"
              span
        section.top-bar-section
          -if !current_page?(new_user_session_path)
            ul.right
                li
                  - if user_signed_in?
                    .inline
                      = "Welcome #{current_user.name}"
                      = link_to "Sign out", destroy_user_session_path, :method => :delete
                  - else
                    = link_to 'Sign in', new_user_session_path
    =render 'layouts/toolbar'
    .row
      .large-12.columns
        - flash.each do |key, value|
          .alert-box class="#{key}" data-alert=''
            |#{value}
            = link_to '&times;'.html_safe, '#', class: 'close'
    .row
      .large-12.columns
        = yield

Hide sign-in link on sign-in page
Hide sign-in link on sign-in page

ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp