upload template from URL

This commit is contained in:
DocuSeal
2023-10-28 23:07:18 +03:00
parent b48615df3f
commit ddb557ebef
10 changed files with 96 additions and 19 deletions
+19
View File
@@ -0,0 +1,19 @@
<div class="h-screen">
<div
class="text-center p-8 h-full flex items-center justify-center"
>
<div>
<%= render 'shared/logo', width: 50, height: 50, class: 'mx-auto animate-bounce' %>
<span>
Processing...
</span>
</div>
</div>
</div>
<submit-form>
<%= form_for '', url: templates_upload_path, method: :post, class: 'hidden' do %>
<button type="submit"></button>
<input name="url" value="<%= params[:url] %>">
<input name="filename" value="<%= params[:filename] %>">
<% end %>
</submit-form>