Fix source header alignment

This commit is contained in:
franck
2013-07-17 15:06:53 +02:00
parent 466b402246
commit 3d5caa2341
92 changed files with 332 additions and 222 deletions

View File

@@ -4,7 +4,7 @@
/* Thelia */
/* */
/* Copyright (c) OpenStudio */
/* email : info@thelia.net */
/* email : info@thelia.net */
/* web : http://www.thelia.net */
/* */
/* This program is free software; you can redistribute it and/or modify */

View File

@@ -4,7 +4,7 @@
/* Thelia */
/* */
/* Copyright (c) OpenStudio */
/* email : info@thelia.net */
/* email : info@thelia.net */
/* web : http://www.thelia.net */
/* */
/* This program is free software; you can redistribute it and/or modify */

View File

@@ -4,7 +4,7 @@
/* Thelia */
/* */
/* Copyright (c) OpenStudio */
/* email : info@thelia.net */
/* email : info@thelia.net */
/* web : http://www.thelia.net */
/* */
/* This program is free software; you can redistribute it and/or modify */
@@ -27,16 +27,17 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Validator\Constraints\Length;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\Constraints\Choice;
use Symfony\Component\Validator\Constraints\Email;
class CustomerLogin extends BaseForm {
protected function buildForm()
{
$this->formBuilder
->add("username", "text", array(
->add("email", "text", array(
"constraints" => array(
new NotBlank(),
new Length(array("min" => 3))
new Email()
)
))
->add("password", "password", array(
@@ -45,7 +46,8 @@ class CustomerLogin extends BaseForm {
)
))
->add("remember_me", "checkbox")
;
->add("success_url", "text")
;
}
public function getName()