tinyforms/app/views/layouts/application.html.erb
Michael Bumann 3723284f0d Move header into separate partial
This makes the files a bit smaller and easier to read.

Also remove some HTML nesting which should not be necessary.
2020-04-12 01:11:16 +02:00

23 lines
481 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Tinyform</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body class="has-text-centered-mobile">
<%= render 'layouts/header' %>
<main>
<%= yield %>
</main>
</body>
</html>