Skip to content

Instantly share code, notes, and snippets.

@johnwards
Created February 25, 2011 08:36
Show Gist options
  • Save johnwards/843530 to your computer and use it in GitHub Desktop.
Save johnwards/843530 to your computer and use it in GitHub Desktop.
FormBuilderForm.php
<?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