Convert form_for -> form_with in views (#30700)
This commit is contained in:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user