demarches-normaliennes/app/views/admin/instructeurs
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
..
_informations.html.haml Move admin/assigns to the new UI like groupe_instructeurs 2020-06-29 14:44:28 +02:00
_list.html.haml Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
index.html.haml views: explicitely marks form_with as non-remote forms 2020-08-05 13:02:56 +02:00
index.js.erb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00