<!DOCTYPE html>
<html>
  <head>
    <title><%= camelized %></title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <%%= csrf_meta_tags %>
    <%%= csp_meta_tag %>

    <%- if options[:skip_javascript] -%>
    <%%= stylesheet_link_tag 'application', media: 'all' %>
    <%- else -%>
      <%- unless options[:skip_turbolinks] -%>
    <%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
      <%- else -%>
    <%%= stylesheet_link_tag 'application', media: 'all' %>
    <%%= javascript_pack_tag 'application' %>
      <%- end -%>
    <%- end -%>
  </head>

  <body>
    <%%= yield %>
  </body>
</html>
