Remove explicit put
action in settings forms (#32176)
This commit is contained in:
parent
8ae381fd04
commit
7e35bef97e
7 changed files with 7 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
|||
%h2= t('settings.profile')
|
||||
= render partial: 'settings/shared/profile_navigation'
|
||||
|
||||
= simple_form_for @account, url: settings_profile_path, html: { method: :put, id: 'edit_profile' } do |f|
|
||||
= simple_form_for @account, url: settings_profile_path, html: { id: :edit_profile } do |f|
|
||||
= render 'shared/error_messages', object: @account
|
||||
|
||||
%p.lead= t('edit_profile.hint_html')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue