!!! %html %head %title Nestene %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} / Bootstrap %link{:href => "/vendor/bootstrap/css/bootstrap.min.css", :rel => "stylesheet"} %link{:href => "/vendor/json-editor/styles.css", :rel => "stylesheet"} / HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries / WARNING: Respond.js doesn't work if you view the page via file:// /[if lt IE 9] %body .container / Static navbar .navbar.navbar-default{:role => "navigation"} .navbar-header %button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", :type => "button"} %span.sr-only Toggle navigation %span.icon-bar %span.icon-bar %span.icon-bar %a.navbar-brand{:href => "/"} Nestene %ol.breadcrumb - (@position || [{link: '/', name: 'Home'}]).each do |crumb| %li %a.btn.btn-default.btn-xs{href: crumb[:link]}=crumb[:name] %div - if @error then .alert.alert-error= @error = yield %script{:src => "/vendor/jquery.min.js"} %script{:src => "/vendor/jquery-ui.min.js"} %script{:src => "/vendor/angular.min.js"} %script{:src => "/vendor/bootstrap/js/bootstrap.min.js"} %script{:src => "/vendor/jquery.bootstrap-growl.min.js"} %script{:src => "/vendor/angular-ui-sortable/sortable.min.js"} %script{:src => "/vendor/json-editor/directives.js"} %script{:src => "/app/application.js"}