Changeset 1071 for sandboxes/asandbox/trunk/lib/form/doctrine/apostropheBlogPlugin/base/BaseaBlogItemForm.class.php
- Timestamp:
- 04/27/10 14:25:35 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandboxes/asandbox/trunk/lib/form/doctrine/apostropheBlogPlugin/base/BaseaBlogItemForm.class.php
r932 r1071 20 20 'page_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'add_empty' => true)), 21 21 'title' => new sfWidgetFormInputText(), 22 'slug_saved' => new sfWidgetFormInputCheckbox(), 22 23 'excerpt' => new sfWidgetFormTextarea(), 23 24 'status' => new sfWidgetFormChoice(array('choices' => array('draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), … … 40 41 'page_id' => new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'required' => false)), 41 42 'title' => new sfValidatorString(array('max_length' => 255)), 43 'slug_saved' => new sfValidatorBoolean(array('required' => false)), 42 44 'excerpt' => new sfValidatorString(array('required' => false)), 43 45 'status' => new sfValidatorChoice(array('choices' => array(0 => 'draft', 1 => 'pending review', 2 => 'published'), 'required' => false)),

