Files
docuseal/app/views/layouts/application.html.erb
T

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-05-21 17:59:36 +03:00
<!DOCTYPE html>
2024-06-09 16:39:41 +03:00
<html data-theme="docuseal" lang="<%= I18n.locale %>">
2023-05-21 17:59:36 +03:00
<head>
2023-10-08 12:04:32 +03:00
<%= render 'layouts/head_tags' %>
2025-02-01 21:55:47 +02:00
<% if Docuseal.enable_pwa? %>
<link rel="manifest" href="/manifest.json">
<% end %>
2024-08-14 21:42:18 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
2023-05-21 17:59:36 +03:00
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
2024-05-23 17:53:42 +03:00
<% if ENV['ROLLBAR_CLIENT_TOKEN'] %>
2024-05-25 16:59:22 +03:00
<meta name="rollbar-token" content="<%= ENV.fetch('ROLLBAR_CLIENT_TOKEN', nil) %>">
2024-05-23 17:53:42 +03:00
<%= javascript_pack_tag 'rollbar', 'application', defer: true %>
2024-05-23 11:50:14 +03:00
<% else %>
<%= javascript_pack_tag 'application', defer: true %>
<% end %>
2024-11-04 11:37:58 +02:00
<% if canonical_url = content_for(:canonical_url) %>
<link href="<%= canonical_url %>" rel="canonical">
<% end %>
2023-05-21 17:59:36 +03:00
<%= stylesheet_pack_tag 'application', media: 'all' %>
2023-07-05 20:40:49 +03:00
<%= render 'shared/posthog' if ENV['POSTHOG_TOKEN'] %>
2023-10-14 15:59:12 +03:00
<%= render 'shared/plausible' if !signed_in? && ENV['PLAUSIBLE_DOMAIN'] %>
2023-05-21 17:59:36 +03:00
</head>
2023-06-20 00:24:39 +03:00
<body>
2023-05-21 17:59:36 +03:00
<turbo-frame id="modal"></turbo-frame>
2024-04-17 16:08:58 +03:00
<turbo-frame id="drawer"></turbo-frame>
2023-05-21 17:59:36 +03:00
<%= render 'shared/navbar' %>
2023-06-23 00:29:59 +03:00
<% if flash.present? %><%= render 'shared/flash' %><% end %>
2023-06-28 00:22:34 +03:00
<div class="max-w-6xl mx-auto px-4 md:px-2 mb-8">
2023-05-31 23:49:19 +03:00
<%= yield %>
</div>
2023-05-21 17:59:36 +03:00
</body>
</html>