/**
  * Builds the form
  *
  * @see FormTypeExtensionInterface::buildForm()
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('permalink', null, array('attr' => array('data-bind' => 'value: permalink, event: {change: $root.editSeo}', 'class' => 'form-control input-sm')));
     $builder->add('title', 'textarea', array('attr' => array('data-bind' => 'value: title, event: {change: $root.editSeo}', 'class' => 'form-control input-sm', 'rows' => '3')));
     $builder->add('description', 'textarea', array('attr' => array('data-bind' => 'value: description, event: {change: $root.editSeo}', 'class' => 'form-control input-sm', 'rows' => '3')));
     $builder->add('keywords', 'textarea', array('attr' => array('data-bind' => 'value: keywords, event: {change: $root.editSeo}', 'class' => 'form-control input-sm', 'rows' => '3')));
     $builder->add('sitemap_frequency', 'choice', array('label' => 'Frequency', 'choices' => array('always' => 'always', 'hourly' => 'hourly', 'daily' => 'daily', 'weekly' => 'weekly', 'monthly' => 'monthly', 'yearly' => 'yearly', 'never' => 'never'), 'attr' => array('data-bind' => 'value: sitemapFrequency, event: {change: $root.editSeo}', 'class' => 'form-control input-sm')));
     $builder->add('sitemap_priority', 'choice', array('label' => 'Priority', 'choices' => array('0,0' => '0,0', '0,1' => '0,1', '0,2' => '0,2', '0,3' => '0,3', '0,4' => '0,4', '0,5' => '0,5', '0,6' => '0,6', '0,7' => '0,7', '0,8' => '0,8', '0,9' => '0,9', '1' => '1'), 'attr' => array('data-bind' => 'value: sitemapPriority, event: {change: $root.editSeo}', 'class' => 'form-control input-sm')));
 }
 /**
  * Builds the form
  *
  * @see FormTypeExtensionInterface::buildForm()
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('pagename', null, array('attr' => array('data-bind' => 'value: name, uniqueName: true, valueUpdate: \'afterkeydown\', event: {change: $root.editPage}', 'class' => 'form-control input-sm')));
     $builder->add('templatename', 'choice', array('choices' => $this->templates, 'attr' => array('data-bind' => 'value: template, uniqueName: true, valueUpdate: \'afterkeydown\', event: {change: $root.editPage}', 'class' => 'form-control input-sm')));
 }
 /**
  * Builds the form
  *
  * @see FormTypeExtensionInterface::buildForm()
  */
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     parent::buildForm($builder, $options);
     $builder->add('password', null, array('attr' => array('data-bind' => 'value: password, event: {change: $root.editUser}', 'class' => 'form-control input-sm')));
 }