mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 14:32:34 +08:00
Set remote true for webhooks create form [SCI-9743] (#6777)
This commit is contained in:
parent
bd89a0c9bf
commit
98b8c25c59
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@
|
|||
</div>
|
||||
<ul class="webhooks-list collapse" id="activityFilter<%= filter.id %>">
|
||||
<li class="create-webhook-container hidden">
|
||||
<%= form_with model: Webhook.new, url: users_settings_webhooks_path(filter_id: filter.id, sort: @current_sort), class: 'webhook-form' do |f| %>
|
||||
<%= form_with model: Webhook.new, url: users_settings_webhooks_path(filter_id: filter.id, sort: @current_sort), class: 'webhook-form', data: { remote: true } do |f| %>
|
||||
<%= render partial: 'webhook_form', locals: {f: f} %>
|
||||
<% end %>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue