To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/27/10 14:25:35 (2 years ago)
Author:
johnnyoffline
Message:

Blog migration and build all classes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandboxes/asandbox/trunk/lib/form/doctrine/apostropheBlogPlugin/base/BaseaBlogItemForm.class.php

    r932 r1071  
    2020      'page_id'         => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'add_empty' => true)), 
    2121      'title'           => new sfWidgetFormInputText(), 
     22      'slug_saved'      => new sfWidgetFormInputCheckbox(), 
    2223      'excerpt'         => new sfWidgetFormTextarea(), 
    2324      'status'          => new sfWidgetFormChoice(array('choices' => array('draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), 
     
    4041      'page_id'         => new sfValidatorDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'required' => false)), 
    4142      'title'           => new sfValidatorString(array('max_length' => 255)), 
     43      'slug_saved'      => new sfValidatorBoolean(array('required' => false)), 
    4244      'excerpt'         => new sfValidatorString(array('required' => false)), 
    4345      'status'          => new sfValidatorChoice(array('choices' => array(0 => 'draft', 1 => 'pending review', 2 => 'published'), 'required' => false)),