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
parent 980034e2e1
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

@ -22,7 +22,7 @@
%li= filter_link_to t('generic.all'), trending: nil
%li= filter_link_to t('admin.trends.only_allowed'), trending: 'allowed'
= form_for(@form, url: batch_admin_trends_statuses_path) do |f|
= form_with model: @form, url: batch_admin_trends_statuses_path do |f|
= hidden_field_tag :page, params[:page] || 1
- Trends::StatusFilter::KEYS.each do |key|