Sha256: 149cf2fdd9920bb4b49e1a8c9a0e9fcb15c449d380f40a30f1b6f47513ac12c0
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 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"> <meta content="false" name="turbo-prefetch"> <%= 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 :vite %> <%= vite_javascript_tag "rails_admin", defer: true, data: {'turbo-track': 'reload'} %> <% 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.3.0 | app/views/layouts/rails_admin/_head.html.erb |
rails_admin-3.2.1 | app/views/layouts/rails_admin/_head.html.erb |