Sha256: 73990ca6048671c3f80c397b871a6cc9813e55e3a27e931cea9f8790bd0f6b52
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 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 %> <%= 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
3 entries across 3 versions & 1 rubygems