adaption registration (ref #220)
This commit is contained in:
parent
cf255183bd
commit
67d026a8a0
|
@ -110,7 +110,8 @@ class RegistrationType extends AbstractType
|
|||
"type" => PasswordType::class,
|
||||
"required" => ($options["mode"]=="submit"?true:false),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")),
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px"))
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"invalid_message" => "Mot de passe non valide"
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@ class ResetpwdType extends AbstractType
|
|||
"required" => ($options["mode"]=="submit"?true:false),
|
||||
"options" => array("always_empty" => true),
|
||||
"first_options" => array("label" => "Votre nouveau Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"second_options" => array('label' => 'Confirmer votre nouveau Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px"))
|
||||
"second_options" => array('label' => 'Confirmer votre nouveau Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"invalid_message" => "Mot de passe non valide"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -141,7 +141,8 @@ class UserType extends AbstractType
|
|||
"required" => ($options["mode"]=="submit"?true:false),
|
||||
"options" => array("always_empty" => true),
|
||||
"first_options" => array("label" => "Mot de Passe","attr" => array("class" => "form-control", "style" => "margin-bottom:15px", "autocomplete" => "new-password")),
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px"))
|
||||
"second_options" => array('label' => 'Confirmer Mot de Passe',"attr" => array("class" => "form-control", "style" => "margin-bottom:15px")),
|
||||
"invalid_message" => "Mot de passe non valide"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -110,9 +110,8 @@
|
|||
{% if form.email is defined %}
|
||||
{{ form_row(form.email) }}
|
||||
<div class='alert alert-info alert-email' style='display:none; font-size: 80%;padding: 5px;margin-top: -10px;'>
|
||||
Attention, le suffixe de votre adresse mail n’est pas dans la liste des administrations autorisées.<br>
|
||||
Merci de bien vouloir privilégier votre adresse professionnelle si vous en avez une.<br>
|
||||
Si ce n’est pas le cas, il faut que vous renseigniez la case motivation de votre demande.
|
||||
Votre mail ne fait pas partie des mails professonniels pré-inscrits dans {{app.session.get("appname")}}.<br>
|
||||
S'il s'agit de votre mail professionnel vous devez compléter le formulaire "Motivations" pour que l'administrateur de {{app.session.get("appname")}} valide votre demannde d'inscription.
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if form.visible is defined %} {{ form_row(form.visible) }} {% endif %}
|
||||
|
|
Loading…
Reference in New Issue