Skip to content

Commit

Permalink
adjust submit for banner
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Nov 18, 2023
1 parent 89d0810 commit 52f6636
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion app/views/submit_form/_banner.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
<%= render 'docuseal_logo' %>
<div class="flex mt-4">
<%= render 'docuseal_logo' %>
</div>
5 changes: 2 additions & 3 deletions app/views/submit_form/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<div style="max-height: -webkit-fill-available;">
<div id="scrollbox">
<div class="mx-auto block pb-72" style="max-width: 1000px">
<div class="mt-4 flex">
<%= render 'banner' %>
</div>
<%# flex block w-full sticky top-0 z-50 space-x-2 items-center bg-yellow-100 p-2 border-y border-yellow-200 %>
<%= render 'banner' %>
<% (@submitter.submission.template_schema || @submitter.submission.template.schema).each do |item| %>
<% document = @submitter.submission.template_schema_documents.find { |a| a.uuid == item['attachment_uuid'] } %>
<% document_annots_index = document.metadata.dig('pdf', 'annotations')&.group_by { |e| e['page'] } || {} %>
Expand Down

0 comments on commit 52f6636

Please sign in to comment.