!!! %html %head %title Ish Manager %link{ :rel => 'icon', :href => '/favicon.ico?v=1' } %meta{ :name => :viewport, :content => 'width=device-width, initial-scale=1.0' } %meta{ :charset => 'UTF-8' } %meta{ :description => 'some description' } %script{ :src => "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" } %script{ :src => "https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/jquery.tinymce.min.js" } %script{ :src => "https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/tinymce.min.js" } %script{ :src => "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" } = stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" = stylesheet_link_tag "ish_manager/application", media: "all" = stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons" = stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all' = javascript_include_tag "ish_manager/application" = csrf_meta_tags %body#application_no_materialize .bg-white - role = current_user ? current_user.profile.role_name : '' = render :partial => "ish_manager/application/main_header_#{role}" .container .row .col-sm-12 - if notice %p.notice= notice - if alert %p.alert= alert .container = yield = render :partial => 'ish_manager/application/main_footer'