mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
adjust native
This commit is contained in:
1 parent
6f31bd7af8
commit
66758d45bc
21 files changed
+379
-64
No files matched your search
@@ -52,9 +52,11 @@
|
||||
</ol>
|
||||
<% unless webhook_event.status == 'pending' %>
|
||||
<div class="absolute right-4 top-3">
|
||||
<toggle-classes data-classes="btn-disabled">
|
||||
<%= button_to button_title(title: t('resend'), disabled_with: t('awaiting'), icon: svg_icon('rotate', class: 'w-4 h-4'), icon_disabled: svg_icon('loader', class: 'w-4 h-4 animate-spin')), resend_settings_webhook_event_path(webhook_url.id, webhook_event.uuid), form: { id: button_uuid = SecureRandom.uuid }, params: { button_id: button_uuid }, class: 'btn btn-neutral btn-sm text-white', method: :post %>
|
||||
</toggle-classes>
|
||||
<native-event data-on="submit" data-name="native:turbo-stream" data-dismiss="false">
|
||||
<toggle-classes data-classes="btn-disabled">
|
||||
<%= button_to button_title(title: t('resend'), disabled_with: t('awaiting'), icon: svg_icon('rotate', class: 'w-4 h-4'), icon_disabled: svg_icon('loader', class: 'w-4 h-4 animate-spin')), resend_settings_webhook_event_path(webhook_url.id, webhook_event.uuid), form: { id: button_uuid = SecureRandom.uuid }, params: { button_id: button_uuid }, class: 'btn btn-neutral btn-sm text-white', method: :post %>
|
||||
</toggle-classes>
|
||||
</native-event>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in new issue
Block a user