implement submission page
This commit is contained in:
@@ -14,19 +14,7 @@
|
||||
<body>
|
||||
<turbo-frame id="modal"></turbo-frame>
|
||||
<%= render 'shared/navbar' %>
|
||||
<% if flash.present? %>
|
||||
<div id="flash" class="absolute top-0 w-full h-0">
|
||||
<div class="max-w-xl mx-auto mt-1.5">
|
||||
<div class="alert py-3">
|
||||
<%= svg_icon('info_circle', class: 'stroke-info flex-shrink-0 w-6 h-6') %>
|
||||
<div>
|
||||
<span><%= flash[:notice] || flash[:alert] %></span>
|
||||
</div>
|
||||
<a href="#" class="w-6 h-6 rounded-lg text-center hover:bg-base-300" onclick="[event.preventDefault(), window.flash.remove()]">×</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if flash.present? %><% render 'shared/flash' %><% end %>
|
||||
<div class="max-w-6xl mx-auto px-4 md:px-2">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<html data-theme="docuseal">
|
||||
<head>
|
||||
<title>
|
||||
Docuseal
|
||||
</title>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= csp_meta_tag %>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<%= javascript_pack_tag 'application', defer: true %>
|
||||
<%= stylesheet_pack_tag 'application', media: 'all' %>
|
||||
</head>
|
||||
<body>
|
||||
<% if flash.present? %><% render 'shared/flash' %><% end %>
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user