|
|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
<div class="max-w-xl mx-auto px-2 mt-12">
|
|
|
|
|
<div class="card bg-base-200">
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<div class="space-y-4 mx-auto">
|
|
|
|
|
<div class="space-y-4">
|
|
|
|
|
<div class="max-w-md mx-auto px-2 mt-12">
|
|
|
|
|
<div class="space-y-6 mx-auto">
|
|
|
|
|
<div class="space-y-6">
|
|
|
|
|
<div class="flex items-center justify-center">
|
|
|
|
|
<div class="flex items-center">
|
|
|
|
|
<div class="mr-3">
|
|
|
|
|
@ -23,17 +21,15 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h3 class="text-lg text-gray-700 font-bold mb-1">Document signed</h3>
|
|
|
|
|
<p class="text-sm text-gray-500">Signed on <%= l(@submission.completed_at.to_date, format: :short) %></p>
|
|
|
|
|
<p class="text-sm text-gray-500">Signed on <%= l(@submitter.completed_at.to_date, format: :short) %></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<%= button_to button_title(title: 'Send copy to Email', disabled_with: 'Sending', icon: svg_icon('mail_forward', class: 'w-6 h-6')), send_submission_email_index_path, params: { submission_slug: @submitter.slug }, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'base-button w-full' %>
|
|
|
|
|
<%= button_to button_title(title: 'Send copy to Email', disabled_with: 'Sending', icon: svg_icon('mail_forward', class: 'w-6 h-6')), send_submission_email_index_path, params: { submitter_slug: @submitter.slug }, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'base-button w-full' %>
|
|
|
|
|
<div class="divider">OR</div>
|
|
|
|
|
<%= button_to button_title(title: 'Download documents', disabled_with: 'Downloading', icon: svg_icon('download', class: 'w-6 h-6')), submission_download_index_path(@submitter.slug), method: :get, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'base-button w-full' %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<%= button_to button_title(title: 'Download documents', disabled_with: 'Downloading', icon: svg_icon('download', class: 'w-6 h-6')), submitter_download_index_path(@submitter.slug), method: :get, form: { onsubmit: 'event.submitter.disabled = true' }, class: 'base-button w-full' %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|