doctype html html head ruby: metas_hash = { title: 'Nippo', description: 'This is a web application you share and stock daily reports with your teams.', og: { title: 'Nippo', description: 'This is a web application you share and stock daily reports with your teams.' }, twitter: { card: 'summary', title: 'Nippo', description: 'This is a web application you share and stock daily reports with your teams.' } } = display_meta_tags metas_hash / = stylesheet_link_tag "nippo_core/application", media: "all" link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous" script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous" css: body { padding-top: 70px; } = javascript_include_tag "nippo_core/application" = csrf_meta_tags body header.navbar.navbar-default.navbar-fixed-top .container .navbar-header = link_to t('daily report'), root_path, class: 'navbar-brand' nav.nav.navbar-nav.navbar-right - if user_signed_in? = link_to current_user.nickname, users_path, class: 'navbar-text' ul.nav.navbar-nav - if user_signed_in? li = link_to t('sign out'), destroy_user_session_path, method: :delete - else li = link_to t('sign in'), new_user_session_path li = link_to t('sign up'), new_user_registration_path .container == breadcrumbs style: :bootstrap = yield