config: form_with now generates local forms by default
We can remove the `local: true` parameter, as it is now implied by default.
This commit is contained in:
parent
b65de3e583
commit
c2ce20d40c
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
||||||
.col-xs-6
|
.col-xs-6
|
||||||
%h3 Ajouter un instructeur
|
%h3 Ajouter un instructeur
|
||||||
#procedure_new.section.section-label
|
#procedure_new.section.section-label
|
||||||
= form_with url: { controller: 'admin/instructeurs', action: :create }, local: true do
|
= form_with url: { controller: 'admin/instructeurs', action: :create } do
|
||||||
.row
|
.row
|
||||||
.col-xs-5
|
.col-xs-5
|
||||||
= render partial: 'admin/instructeurs/informations'
|
= render partial: 'admin/instructeurs/informations'
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
.container
|
.container
|
||||||
%h1
|
%h1
|
||||||
= form_with model: @procedure, url: url_for({ controller: 'new_administrateur/procedures', action: :update_jeton }), local: true, html: { class: 'form' } do |f|
|
= form_with model: @procedure, url: url_for({ controller: 'new_administrateur/procedures', action: :update_jeton }), html: { class: 'form' } do |f|
|
||||||
%p.explication
|
%p.explication
|
||||||
Démarches Simplifiées utilise
|
Démarches Simplifiées utilise
|
||||||
= link_to 'API Entreprise', "https://entreprise.api.gouv.fr/"
|
= link_to 'API Entreprise', "https://entreprise.api.gouv.fr/"
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
# Rails.application.config.active_record.legacy_connection_handling = false
|
# Rails.application.config.active_record.legacy_connection_handling = false
|
||||||
|
|
||||||
# Make `form_with` generate non-remote forms by default.
|
# Make `form_with` generate non-remote forms by default.
|
||||||
# Rails.application.config.action_view.form_with_generates_remote_forms = false
|
Rails.application.config.action_view.form_with_generates_remote_forms = false
|
||||||
|
|
||||||
# Set the default queue name for the analysis job to the queue adapter default.
|
# Set the default queue name for the analysis job to the queue adapter default.
|
||||||
Rails.application.config.active_storage.queues.analysis = nil
|
Rails.application.config.active_storage.queues.analysis = nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue