Skip to content

Commit

Permalink
Se agrego * a los campos requeridos a traves de scss y Congreso ahora…
Browse files Browse the repository at this point in the history
… especifica que poner en titulo y comunicacion
  • Loading branch information
SantiMaceri committed Dec 18, 2018
1 parent 6ed2fb5 commit 64dcfd4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/Celsius3/CoreBundle/Form/Type/CongressTypeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,20 @@ public function buildForm(FormBuilderInterface $builder, array $options)

$builder
->add('place')
->add('communication')
->add('communication',null ,array(
'attr' => array(
'placeholder' => 'Nombre de la ponencia'
)
) )

->add('title', null, array(
'attr' => array(
'placeholder' => 'Titulo del Congreso'
)
) )
;


}

public function configureOptions(OptionsResolver $resolver)
Expand Down
6 changes: 6 additions & 0 deletions src/Celsius3/CoreBundle/Resources/public/scss/celsius3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
margin-top: 10px;
}

.required:after {
content: "*";
}



body {
padding-top: 60px;
padding-bottom: 40px;
Expand Down

0 comments on commit 64dcfd4

Please sign in to comment.