Created
February 25, 2011 08:36
-
-
Save johnwards/843530 to your computer and use it in GitHub Desktop.
FormBuilderForm.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace WhiteOctober\FormBuilderBundle\Form; | |
use Symfony\Component\Form\Form; | |
use Symfony\Component\Form\TextareaField; | |
class FormBuilderForm extends Form | |
{ | |
public function configure() | |
{ | |
$this->add('name'); | |
$this->add('short_url'); | |
$this->add(new TextareaField('welcome_text')); | |
$this->add('self_registration'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment