style documents preview
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
Hellp
|
||||
<div>
|
||||
<div class="max-w-6xl mx-auto px-2 py-3">
|
||||
<%= link_to 'Create Flow', new_flow_path, data: { turbo_frame: :modal } %>
|
||||
<%= link_to 'Storage settings', settings_storage_index_path %>
|
||||
<%= link_to 'Email settings', settings_email_index_path %>
|
||||
<%= link_to 'eSign', settings_esign_index_path %>
|
||||
<%= link_to 'Users', settings_users_path %>
|
||||
</div>
|
||||
<div>
|
||||
<% @flows.each do |flow| %>
|
||||
<div>
|
||||
<%= flow.name %> |
|
||||
|
||||
@@ -1 +1,16 @@
|
||||
<flow-builder data-flow="<%= @flow.to_json(include: { documents: { include: { preview_images: { methods: %i[url metadata filename] } } } }) %>"></flow-builder>
|
||||
<!DOCTYPE html>
|
||||
<html data-theme="docuseal" class="h-full">
|
||||
<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 class="h-full" data>
|
||||
<flow-builder data-flow="<%= @flow.to_json(include: { documents: { include: { preview_images: { methods: %i[url metadata filename] } } } }) %>"></flow-builder>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user