demarches-normaliennes/app/javascript/new_design/fc-fusion.js

20 lines
650 B
JavaScript
Raw Normal View History

import { show, hide } from '@utils';
export function showFusion() {
show(document.querySelector('.fusion'));
2021-10-13 09:26:54 +02:00
hide(document.querySelector('.new-account'));
2021-10-13 01:08:57 +02:00
hide(document.querySelector('.new-account-password-confirmation'));
2021-10-13 09:26:54 +02:00
}
export function showNewAccount() {
hide(document.querySelector('.fusion'));
show(document.querySelector('.new-account'));
2021-10-13 01:08:57 +02:00
hide(document.querySelector('.new-account-password-confirmation'));
}
export function showNewAccountPasswordConfirmation() {
hide(document.querySelector('.fusion'));
hide(document.querySelector('.new-account'));
show(document.querySelector('.new-account-password-confirmation'));
}