demarches-normaliennes/app/views/new_administrateur
Pierre de La Morinerie 7708dbbc71 views: explicitely marks form_with as non-remote forms
Starting from Rails 5.1, `form_with` behavior is to generate remote
forms by default.

However with Turbolinks disabled, the form gets sent, but nothing is set
up to handle the server response (like replacing the content of the
page).

So we have two choices: either enable a global config option that makes
`form_with` generate non-remote forms, or do it explicitely on each
form. I chose the explicit way, so that developers expecting the usual
remote behavior of `form_with` are not surprised.
2020-08-05 13:02:56 +02:00
..
attestation_templates Merge branch 'dev' into new_design_edit_attestation 2020-07-30 09:53:09 +02:00
groupe_instructeurs Changed the routes to pass all new design admin pages under 2020-07-07 14:08:01 +00:00
procedure_administrateurs remplacement de demarches-simplifiees.fr par un paramètre dans les vues 2020-07-23 16:16:36 +02:00
procedures views: explicitely marks form_with as non-remote forms 2020-08-05 13:02:56 +02:00
services views: explicitely marks form_with as non-remote forms 2020-08-05 13:02:56 +02:00
_breadcrumbs.html.haml Changed the routes to pass all new design admin pages under 2020-07-07 14:08:01 +00:00
_groups_header.haml Changed the routes to pass all new design admin pages under 2020-07-07 14:08:01 +00:00