-# -*- coding: utf-8 -*-
!!!
%html
  %head
    %meta{charset: 'utf-8'}
    = stylesheet_tag 'app'
    = javascript_tag 'app'
    %title めいぼ
  %body
    %nav.navbar.navbar-inverse.navbar-static-top
      %div.container
        %div.navbar-header
          %a.navbar-brand{href: brand['uri']}= brand['name']
        %div.collapse.navbar-collapse
          %ul.nav.navbar-nav
            %li
              %a{href: absolute_uri()} 一覧
          %form.navbar-form.navbar-right{action: absolute_uri(), role: 'search'}
            %input.form-control{type: :search, name: 'q'}
            %input.btn.btn-primary{type: :submit, value: '検索'}
    - if remote_user
      %a{href: absolute_uri(remote_user)}= remote_user
    %div.container-fluid
      %div.row
        %div.col-xs-8.col-xs-offset-2
          = yield

-# -*- coding: utf-8 -*-
!!!
%html
  %head
    %meta{charset: 'utf-8'}
    = stylesheet_tag 'app'
    = javascript_tag 'app'
    %title めいぼ
  %body
    %nav.navbar.navbar-inverse.navbar-static-top
      %div.container
        %div.navbar-header
          %a.navbar-brand{href: brand['uri']}= brand['name']
        %div.collapse.navbar-collapse
          %ul.nav.navbar-nav
            %li
              %a{href: absolute_uri()} 一覧
            - if remote_user
              %li
                %a{href: absolute_uri(remote_user)}= remote_user
          %form.navbar-form.navbar-right{action: absolute_uri(), role: 'search'}
            %input.form-control{type: :search, name: 'q'}
            %input.btn.btn-primary{type: :submit, value: '検索'}
    %div.container-fluid
      %div.row
        %div.col-xs-8.col-xs-offset-2
          = yield

Move remote_user to top navbar
Move remote_user to top navbar
