Convert form_for
-> form_with
in views (#30700)
This commit is contained in:
parent
980034e2e1
commit
b5d1d48266
15 changed files with 15 additions and 15 deletions
|
@ -31,7 +31,7 @@
|
|||
%li= filter_link_to t('relationships.most_recent'), order: nil
|
||||
%li= filter_link_to t('relationships.last_active'), order: 'active'
|
||||
|
||||
= form_for(@form, url: relationships_path, method: :patch) do |f|
|
||||
= form_with model: @form, url: relationships_path, method: :patch do |f|
|
||||
= hidden_field_tag :page, params[:page] || 1
|
||||
|
||||
- RelationshipFilter::KEYS.each do |key|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue