!!! %html %head %title #{@page_title} | PiousboxCMS %link{ :rel => 'icon', :href => "/favicon_#{ENV['RAILS_ENV']}.gif" } %meta{ :name => :viewport, :content => 'width=device-width, initial-scale=1.0' } %meta{ :charset => 'UTF-8' } %meta{ :description => @page_description } = javascript_include_tag "//code.jquery.com/jquery-3.3.1.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" %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/jquery.tinymce.min.js" } %script{ :src => "//cdnjs.cloudflare.com/ajax/libs/tinymce/4.6.3/tinymce.min.js" } = stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all' = stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons" = stylesheet_link_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" = javascript_include_tag "//cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" = javascript_include_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" = stylesheet_link_tag "//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" = javascript_include_tag "//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js" = stylesheet_link_tag "ish_manager/application", media: "all" = javascript_include_tag "ish_manager/application" = csrf_meta_tags %body{ class: [ params[:controller].gsub("ish_manager/",""), "#{params[:controller].gsub("ish_manager/","")}-#{params[:action]}", params[:action]] } .bg-white = render :partial => "ish_manager/application/main_header_#{@current_profile.role_name}" .container.W0 - if notice || alert .row .col-sm-12 - if notice - if notice.class == Array %ul - notice.map do |n| %li - n.map do |k,v| #{k} : #{v} %p.notice= notice - if alert %p.alert= alert = yield = render 'ish_manager/application/main_footer' = render 'analytics' if Rails.env.production?