diff --git a/src/Form/TypeBlockType.php b/src/Form/TypeBlockType.php
index b9d914cf..82ab3e66 100644
--- a/src/Form/TypeBlockType.php
+++ b/src/Form/TypeBlockType.php
@@ -4,6 +4,8 @@
use App\Entity\TypeBlock;
use Symfony\Component\Form\AbstractType;
+use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
+use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
@@ -12,10 +14,33 @@ class TypeBlockType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
- ->add('name')
- ->add('description')
- ->add('identifier')
- ->add('isActive')
+ ->add('name', TextType::class, [
+ 'label' => 'Que nombre tendrá el nuevo TypeBlock?',
+ 'attr' =>[
+ 'class' => 'form-control'
+ ],
+ ])
+ ->add('description', TextType::class, [
+ 'label' => 'Agregue una descripción para el nuevo TypeBlock',
+ 'attr' =>[
+ 'class' => 'form-control'
+ ],
+ ])
+ ->add('identifier', TextType::class, [
+ 'label' => 'Agregue un identificador único para el nuevo TypeBlock',
+ 'help' => 'En minúsculas y sin espacios, puede usar guiones medios "-"',
+ 'attr' =>[
+ 'class' => 'form-control'
+ ],
+ ])
+ ->add('isActive', CheckboxType::class, [
+ 'required' => false,
+ 'label' => 'Activa el TypeBlock?',
+ 'label_attr' => ['class' => 'form-check-label'],
+ 'attr' => [
+ 'class' => 'form-check-input text-dark',
+ ],
+ ])
;
}
diff --git a/templates/base_admin_board.html.twig b/templates/base_admin_board.html.twig
index c01d534b..58a5583a 100644
--- a/templates/base_admin_board.html.twig
+++ b/templates/base_admin_board.html.twig
@@ -8,7 +8,7 @@
{% block title %} Bienvenido! {% endblock %} - {{ base.siteName }}
-
+
{% block stylesheets %}
diff --git a/templates/bases/_volver.html.twig b/templates/bases/_volver.html.twig
index f61a3799..4ab20ee8 100644
--- a/templates/bases/_volver.html.twig
+++ b/templates/bases/_volver.html.twig
@@ -1,5 +1,5 @@
-