Convert form_for -> form_with in views (#30700)

This commit is contained in:
Matt Jankowski 2024-06-14 05:54:22 -04:00 committed by GitHub
commit b5d1d48266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 15 additions and 15 deletions

View file

@ -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?