<commit_before><?php

namespace Rw\CoreBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class LessonType extends AbstractType
{
    /**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('title',     'text')
            ->add('summary',   'textarea')
            ->add('content',   'text', array('required' => false))
			->add('title1',    'text', array('required' => false))
            ->add('article1',  'textarea', array('required' => false))
			->add('title2',    'text', array('required' => false))
            ->add('article2',  'textarea', array('required' => false))
			->add('title3',    'text', array('required' => false))
            ->add('article3',  'textarea', array('required' => false) )
			->add('title4',    'text', array('required' => false))
            ->add('article4',  'textarea', array('required' => false))
			->add('title5',    'text', array('required' => false))
            ->add('article5',  'textarea', array('required' => false))
			->add('title6',    'text', array('required' => false))
            ->add('article6',  'textarea', array('required' => false))
            ->add('published', 'checkbox', array('required' => false))
			->add('save',      'submit')
        ;
    }
    
    /**
     * @param OptionsResolverInterface $resolver
     */
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
        $resolver->setDefaults(array(<commit_msg>Modification du formulaire lesson suite suppression des attributs article<commit_after><?php

namespace Rw\CoreBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class LessonType extends AbstractType
{
    /**
     * @param FormBuilderInterface $builder
     * @param array $options
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('title',     'text')
            ->add('summary',   'textarea')
            ->add('content',   'text', array('required' => false))
			->add('title1',    'text', array('required' => false))
			->add('title2',    'text', array('required' => false))
			->add('title3',    'text', array('required' => false))
			->add('title4',    'text', array('required' => false))
			->add('title5',    'text', array('required' => false))
			->add('title6',    'text', array('required' => false))
			->add('save',      'submit')
        ;
    }
    
    /**
     * @param OptionsResolverInterface $resolver
     */
    public function setDefaultOptions(OptionsResolverInterface $resolver)
    {
        $resolver->setDefaults(array(
{'fraction_non_alphanumeric': 0.17328767123287672, 'fraction_numerical': 0.0061643835616438354, 'mean_word_length': 3.1025280898876404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '806344', 'n_tokens_mistral': 859, 'n_tokens_neox': 830, 'n_words': 171}