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

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