Compare commits
2 Commits
0cb286080d
...
425eeb4f3b
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 425eeb4f3b | |
afornerot | eaab6fcb14 |
|
@ -33,7 +33,7 @@ class RegistrationType extends AbstractType
|
||||||
|
|
||||||
$builder->add('submit',
|
$builder->add('submit',
|
||||||
SubmitType::class, array(
|
SubmitType::class, array(
|
||||||
"label" => ($options["mode"]=="delete"?"Confirmer la Suppression":($options["mode"]=="submit"?"Confirmer":"Sauvegarder et envoyer le mail")),
|
"label" => ($options["mode"]=="delete"?"Confirmer la Suppression":($options["mode"]=="submit"?"Confirmer":"Enregistrer et envoyer le mail")),
|
||||||
"attr" => ($options["mode"]=="delete"?array("class" => "btn btn-danger"):array("class" => "btn btn-success"))
|
"attr" => ($options["mode"]=="delete"?array("class" => "btn btn-danger"):array("class" => "btn btn-success"))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -41,7 +41,7 @@ class RegistrationType extends AbstractType
|
||||||
if($options["mode"]=="send") {
|
if($options["mode"]=="send") {
|
||||||
$builder->add('save',
|
$builder->add('save',
|
||||||
SubmitType::class, array(
|
SubmitType::class, array(
|
||||||
"label" => "Sauvegarder sans envoyer le mail",
|
"label" => "Enregistrer sans envoyer le mail",
|
||||||
"attr" => array("class" => "btn btn-success")
|
"attr" => array("class" => "btn btn-success")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue