2012-10-08 11:51:56 +02:00
|
|
|
= render layout: 'layouts/header' do
|
|
|
|
.row-fluid
|
2012-10-06 17:14:57 +02:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
.navbar.navbar-fixed-top
|
|
|
|
.navbar-inner
|
|
|
|
.container-fluid
|
|
|
|
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
|
|
|
|
%span.icon-bar
|
|
|
|
%span.icon-bar
|
|
|
|
%span.icon-bar
|
|
|
|
= link_to 'Foodsoft', root_path(anchor: ''), class: 'brand'
|
|
|
|
.container.nav-collapse
|
|
|
|
= render_navigation expand_all: true, renderer: :bootstrap
|
2012-10-06 17:14:57 +02:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
.container-fluid
|
2012-10-06 17:14:57 +02:00
|
|
|
.row-fluid
|
2012-10-08 11:51:56 +02:00
|
|
|
- if content_for?(:sidebar)
|
|
|
|
.span2
|
|
|
|
= yield(:sidebar)
|
|
|
|
.span10
|
|
|
|
= bootstrap_flash
|
2012-10-06 17:14:57 +02:00
|
|
|
- if show_title?
|
|
|
|
.page-header
|
|
|
|
%h1= yield(:title)
|
|
|
|
= yield
|
2012-10-08 11:51:56 +02:00
|
|
|
- else
|
|
|
|
= bootstrap_flash
|
|
|
|
- if show_title?
|
|
|
|
.page-header
|
|
|
|
%h1= yield(:title)
|
|
|
|
= yield
|
2009-02-18 12:01:51 +01:00
|
|
|
|
2012-10-08 11:51:56 +02:00
|
|
|
%footer
|
|
|
|
%p
|
|
|
|
Foodsoft, open source software to manage a non-profit food coop.
|