Categories ordrering in the catalog
This commit is contained in:
@@ -30,7 +30,7 @@ class CategoryDeletionForm extends BaseForm {
|
||||
protected function buildForm()
|
||||
{
|
||||
$this->formBuilder
|
||||
->add("id", "integer", array(
|
||||
->add("category_id", "integer", array(
|
||||
"constraints" => array(
|
||||
new NotBlank()
|
||||
)
|
||||
|
||||
@@ -33,7 +33,8 @@ class CustomerCreation extends BaseForm
|
||||
protected function buildForm()
|
||||
{
|
||||
$this->formBuilder
|
||||
->add("firstname", "text", array(
|
||||
->add("auto_login", "boolean")
|
||||
->add("firstname", "text", array(
|
||||
"constraints" => array(
|
||||
new Constraints\NotBlank()
|
||||
),
|
||||
|
||||
@@ -53,6 +53,7 @@ class CustomerModification extends BaseForm {
|
||||
{
|
||||
|
||||
$this->formBuilder
|
||||
->add('update_logged_in_user', 'boolean') // In a front office context, update the in-memory logged-in user data
|
||||
->add("firstname", "text", array(
|
||||
"constraints" => array(
|
||||
new Constraints\NotBlank()
|
||||
|
||||
Reference in New Issue
Block a user