Skip to content

Commit d80ea9a

Browse files
authored
Update ArticleSearchType.php
1 parent 75d67c3 commit d80ea9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Form/ArticleSearchType.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ class ArticleSearchType extends AbstractType
1414
public function buildForm(FormBuilderInterface $builder, array $options)
1515
{
1616
$builder
17+
// Champs de saisie du titre de l'article
1718
->add('title', TextType::class, [
1819
'label' => 'Title',
1920
'required' => TRUE,
2021
])
22+
// Bouton soumission formulaire
2123
->add('search', SubmitType::class, [
2224
'label' => 'Search',
2325
]);
2426
}
2527

26-
}
28+
}

0 commit comments

Comments
 (0)