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
|
|
@ -21,7 +21,7 @@
|
|||
%li= filter_link_to t('admin.accounts.moderation.active'), status: nil
|
||||
%li= filter_link_to t('admin.follow_recommendations.suppressed'), status: 'suppressed'
|
||||
|
||||
= form_for(@form, url: admin_follow_recommendations_path, method: :patch) do |f|
|
||||
= form_with model: @form, url: admin_follow_recommendations_path, method: :patch do |f|
|
||||
- RelationshipFilter::KEYS.each do |key|
|
||||
= hidden_field_tag key, params[key] if params[key].present?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue