Skip to content

Commit

Permalink
Fix warning DSFR New password JS
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGirard committed Jan 13, 2025
1 parent 7a72d04 commit bc550f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/application_agent_config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require("@rails/ujs").start()
require("turbolinks").start()
import { DsfrNewPassword } from "./components/dsfr-new-password";
import DsfrNewPassword from "./components/dsfr-new-password";
import { Modal } from './components/modal';
import './components/browser-detection';
import 'select2/dist/js/select2.min.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
p.fr-hint-text Tous les champs sont obligatoires.
= render "devise/shared/dsfr_error_messages", resource: resource
= f.hidden_field :invitation_token
.fr-grid-row.fr-grid-row--gutters
.fr-grid-row.fr-grid-row--gutters.fr-mb-5v
.fr-col-md-6= f.dsfr_text_field :first_name, required: true
.fr-col-md-6= f.dsfr_text_field :last_name, required: true
= render "common/form/new_password_input", f: , hint: "Choisissez votre mot de passe"
Expand Down

0 comments on commit bc550f3

Please sign in to comment.