public function renderAttributesAction(Request $request)
{
$template = $request->attributes->get('template', 'SyliusAttributeBundle::attributeChoice.html.twig');
$form = $this->get('form.factory')->create(ProductAttributeChoiceType::class, null, ['multiple' => true]);
return $this->render($template, ['form' => $form->createView()]);
}