Sha256: 9f71d35bc1cfd6628f28f7c54fc050b594612c063e8132c4f7e63a1031f164f3
Contents?: true
Size: 1.78 KB
Versions: 2
Compression:
Stored size: 1.78 KB
Contents
<meta content="IE=edge" http-equiv="X-UA-Compatible"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="width=device-width, initial-scale=1" name="viewport; charset=utf-8"/> <meta content="NONE,NOARCHIVE" name="robots"/> <%= csrf_meta_tag %> <% case RailsAdmin::config.asset_source when :webpacker %> <%= stylesheet_pack_tag "rails_admin", data: {'turbo-track': 'reload'} %> <%= javascript_pack_tag "rails_admin", defer: true, data: {'turbo-track': 'reload'} %> <% when :sprockets %> <% handle_asset_dependency_error do %> <%= stylesheet_link_tag "rails_admin/application.css", media: :all, data: {'turbo-track': 'reload'} %> <%= javascript_include_tag "rails_admin/application.js", defer: true, data: {'turbo-track': 'reload'} %> <% end %> <% when :webpack %> <%= stylesheet_link_tag "rails_admin.css", media: :all, data: {'turbo-track': 'reload'} %> <%= javascript_include_tag "rails_admin.js", defer: true, data: {'turbo-track': 'reload'} %> <% when :importmap %> <%= stylesheet_link_tag "rails_admin.css", media: :all, data: {'turbo-track': 'reload'} %> <%= javascript_inline_importmap_tag(RailsAdmin::Engine.importmap.to_json(resolver: self)) %> <%= javascript_importmap_module_preload_tags(RailsAdmin::Engine.importmap) %> <%= javascript_importmap_shim_nonce_configuration_tag if respond_to? :javascript_importmap_shim_nonce_configuration_tag %> <%= javascript_importmap_shim_tag if respond_to? :javascript_importmap_shim_tag %> <%= # Preload jQuery and make it global, unless jQuery UI fails to initialize tag.script "import jQuery from 'jquery'; window.jQuery = jQuery;".html_safe, type: "module" %> <%= javascript_import_module_tag 'rails_admin' %> <% else raise "Unknown asset_source: #{RailsAdmin::config.asset_source}" end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin-3.1.4 | app/views/layouts/rails_admin/_head.html.erb |
rails_admin-3.1.3 | app/views/layouts/rails_admin/_head.html.erb |