Skip to content

Commit

Permalink
Update PagesPresenter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Voslař committed Jul 24, 2014
1 parent 09522ee commit 5642d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AdminModule/presenters/PagesPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ protected function createComponentPageForm()
}

$form = $this->createForm();
$form->addText('title', 'Name')->setAttribute('class', 'form-control')->required();
$form->addText('title', 'Name')->setAttribute('class', 'form-control')->setRequired();
$form->addText('redirect', 'Redirect')->setAttribute('class', 'form-control');
$form->addText('class', 'Menu item class')->setAttribute('class', 'form-control');
$form->addSelect('module', 'Module')->setTranslator(NULL)->setItems($modulesToSelect)->setAttribute('class', 'form-control')->required();
$form->addSelect('module', 'Module')->setTranslator(NULL)->setItems($modulesToSelect)->setAttribute('class', 'form-control')->setRequired();
$form->addSelect('parent', 'Parent')->setTranslator(NULL)->setItems($hierarchy)->setAttribute('class', 'form-control');
$form->addCheckbox('default', 'Default');
$form->addCheckbox('visible', 'Show');
Expand Down

0 comments on commit 5642d01

Please sign in to comment.