<% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation %> <% end %> <%= stylesheet_link_tag 'application', media: 'all' %> <%= stylesheet_link_tag 'app.printer', media: 'print' %> <% unless Stylesheet.theme.nil? %> <% end %> <% unless Stylesheet.home_page.nil? %> <% end %> <% if CustomAsset.get_url('favicon-file') %> <% end %>
<%= flash_messages %>
Powered by Fab-manager
<%= javascript_include_tag 'application' %> <% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation %> <% end %> <% if Rails.application.assets.find_asset "moment/locale/#{Rails.application.secrets.moment_locale}.js" %> <% elsif Rails.application.secrets.moment_locale != 'en' raise LoadError, "moment/locale/#{Rails.application.secrets.moment_locale}.js does not exists" end %> <% if Rails.application.assets.find_asset "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js" %> <% elsif Rails.application.secrets.summernote_locale != 'en-US' raise LoadError, "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js does not exists" end %> <% if Rails.application.assets.find_asset "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js" %> <% elsif Rails.application.secrets.fullcalendar_locale != 'en' raise LoadError, "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js does not exists" end %>