<commit_before><?php

namespace MIW\IntranetBundle\Form\Type;

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

class AddressType extends AbstractType
{
    public function __construct()
    {

    }

    public function buildForm(FormBuilderInterface $builder, array $options)
    {
         $builder
            ->add('address', 'text', array(
                'label' => 'Dirección',
                'attr' => array('class' => 'address')))
            ->add('community', 'text', array(
                'label' => 'Comunidad Autónoma',
                'attr' => array('class' => 'community')))
            ->add('province', 'text', array(
                'label' => 'Provincia',
            ))
            ->add('city', 'text', array(
                'label' => 'Localidad',
            ))
            ->add('zipcode', 'hidden', array( ))
            ->add('lat', 'hidden', array( ))
            ->add('long', 'hidden', array( ));
           
    }

    public function getDefaultOptions(array $options) {
        return array(
            'data_class' => 'MIW\DataAccessBundle\Document\Address',
        );
    }

    public function getName()
    {
        return 'address';
    }
}<commit_msg>Modificada la Forma de la Localizacion<commit_after><?php

namespace MIW\IntranetBundle\Form\Type;

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

class AddressType extends AbstractType
{
    public function __construct()
    {
    }

    public function buildForm(FormBuilderInterface $builder, array $options)
    {
         $builder
            ->add('address', 'text', array(
                'label' => 'Dirección',
                'attr' => array('class' => 'address')))
            ->add('community', 'text', array(
                'label' => 'Comunidad Autónoma',
                'attr' => array('class' => 'community')))
            ->add('province', 'text', array(
                'label' => 'Provincia'))
            ->add('city', 'text', array(
                'label' => 'Localidad'))
            ->add('zipcode', 'hidden', array( ))
            ->add('lat', 'hidden', array( ))
            ->add('long', 'hidden', array( ));           
    }

    public function getDefaultOptions(array $options) {
        return array(
            'data_class' => 'MIW\DataAccessBundle\Document\Address',
        );
    }

    public function getName()
    {
        return 'address';
    }
}
{'fraction_non_alphanumeric': 0.15527699150828952, 'fraction_numerical': 0.0, 'mean_word_length': 1.9879227053140096, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '247422', 'n_tokens_mistral': 707, 'n_tokens_neox': 682, 'n_words': 145}