/**
  * @param FormInterface $form
  * @param Attribute $attribute
  */
 private function addValueField(FormInterface $form, Attribute $attribute)
 {
     $options = array('auto_initialize' => false, 'label' => $attribute->getName());
     $form->add('value', sprintf('sylius_attribute_type_%s_%s', $attribute->getType(), $attribute->getBewWidgetByArchetype($this->archetype)), $options);
 }