mirror of https://github.com/docusealco/docuseal
parent
85574d6605
commit
21f684ed4a
|
After Width: | Height: | Size: 342 B |
|
After Width: | Height: | Size: 482 B |
@ -1,6 +1,12 @@
|
|||||||
<span class="enabled">
|
<span class="enabled">
|
||||||
<%= title %>
|
<span class="flex justify-center space-x-3">
|
||||||
|
<%= icon if icon %>
|
||||||
|
<span><%= title %></span>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="disabled">
|
<span class="disabled">
|
||||||
<%= disabled_with %>
|
<span class="flex justify-center space-x-3">
|
||||||
|
<%= svg_icon('loader', class: 'w-6 h-6 animate-spin') %>
|
||||||
|
<span><%= disabled_with %>...</span>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<p>
|
<p>
|
||||||
Form has been submitted alredy by ypu - thanks!
|
Form has been submitted alredy by ypu - thanks!
|
||||||
</p>
|
</p>
|
||||||
<%= button_to button_title('Send copy to Email'), send_submission_email_index_path, params: { template_slug: @template.slug, email: params[:email] }, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
<%= button_to button_title(title: 'Send copy to Email', disabled_with: 'Sending'), send_submission_email_index_path, params: { template_slug: @template.slug, email: params[:email] }, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
||||||
<%# do not allow donwload for securetiy reaosn<a href="">Download documets</a> %>
|
<%# do not allow donwload for securetiy reaosn<a href="">Download documets</a> %>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<p>
|
<p>
|
||||||
Form completed - thanks!
|
Form completed - thanks!
|
||||||
</p>
|
</p>
|
||||||
<%= button_to button_title('Send copy to Email'), send_submission_email_index_path, params: { submission_slug: @submission.slug }, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
<%= button_to button_title(title: 'Send copy to Email', disabled_with: 'Sending'), send_submission_email_index_path, params: { submission_slug: @submission.slug }, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
||||||
<%= button_to button_title('Download documents'), submission_download_index_path(@submission.slug), method: :get, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
<%= button_to button_title(title: 'Download documents', disabled_with: 'Downloading'), submission_download_index_path(@submission.slug), method: :get, form: { onsubmit: 'event.submitter.disabled = true' } %>
|
||||||
|
|||||||
Loading…
Reference in new issue