mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix preview completed
This commit is contained in:
1 parent
811091ff14
commit
6f5ebfc8a6
1 file changed
+2
-2
@@ -13,8 +13,8 @@
|
||||
</div>
|
||||
<div>
|
||||
<p dir="auto" class="text-lg font-bold mb-1"><%= @submission.template.name %></p>
|
||||
<% if submitter = @submission.submitters.map(&:completed_at).max %>
|
||||
<p dir="auto" class="text-sm"><%= t('signed_on_time', time: l(submitter.to_date, format: :long)) %></p>
|
||||
<% if completed_at = @submission.submitters.map(&:completed_at).compact.max %>
|
||||
<p dir="auto" class="text-sm"><%= t('signed_on_time', time: l(completed_at.to_date, format: :long)) %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user