add email and mobile number to person: last modif and translations

This commit is contained in:
nobohan
2018-05-21 09:56:46 +02:00
parent e9698f2cbc
commit e96da0c641
7 changed files with 86 additions and 78 deletions

View File

@@ -39,12 +39,12 @@ class PersonController extends Controller
* @var SimilarPersonMatcher
*/
protected $similarPersonMatcher;
public function __construct(SimilarPersonMatcher $similarPersonMatcher)
{
$this->similarPersonMatcher = $similarPersonMatcher;
}
public function getCFGroup()
{
$cFGroup = null;
@@ -119,7 +119,7 @@ class PersonController extends Controller
if ( ! $form->isValid() ) {
$this->get('session')
->getFlashBag()->add('error', 'Thp person data provided'
->getFlashBag()->add('error', 'The person data provided'
. ' are not valid');
return $this->render('ChillPersonBundle:Person:edit.html.twig',