Permalink
Browse files

removed the unnecessary attributes

  • Loading branch information...
1 parent 8c7308b commit 00c4dc6327fc2fccbe3201488306a0f8a235995f @stfalcon committed Apr 26, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 Admin/CategoryAdmin.php
  2. +4 −4 Admin/ProjectAdmin.php
View
@@ -14,7 +14,7 @@ protected function configureFormFields(FormMapper $formMapper)
$formMapper
->add('slug')
->add('name')
- ->add('description', 'textarea', array('attr' => array("class" => 'input-xxlarge')))
+ ->add('description')
// @todo сделать сортировку через sortable (по аналогии с проектами)
->add('ordernum')
;
View
@@ -28,11 +28,11 @@ protected function configureFormFields(FormMapper $formMapper)
->add('name')
->add('slug')
->add('url')
- ->add('description', 'textarea', array('attr' => array("class" => 'input-xxlarge')))
+ ->add('description')
->add('imageFile', 'file', array('required' => false))
- ->add('date', 'date', array('required' => false))
- ->add('categories', null, array('required' => false))
- ->add('users', 'textarea', array('required' => false, 'attr' => array("class" => 'input-xxlarge')))
+ ->add('date', 'date')
+ ->add('categories')
+ ->add('users')
->add('onFrontPage', 'checkbox', array('required' => false))
;
}

0 comments on commit 00c4dc6

Please sign in to comment.