Skip to content

Instantly share code, notes, and snippets.

@wowo
Created October 18, 2011 19:40
Show Gist options
  • Save wowo/1296474 to your computer and use it in GitHub Desktop.
Save wowo/1296474 to your computer and use it in GitHub Desktop.
<?php
class MailingType extends AbstractType
{
public function buildForm(FormBuilder $builder, array $options)
{
$builder
->add('body', 'textarea', array('class' => 'tinymce')); // it won't work!
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment