happyr / birthday-bundle
Happyr birthday bundle gives you a nicer way to render birthday widgets
Installs: 1 479
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- symfony/framework-bundle: ^2.3 || ^3.0
README
Get a nice looking form for birthdays. Enter the year manually and then drop down for month and day.
Install
// app/config/config.yml twig: form: resources: - 'HappyrBirthdayBundle:Form:fields.html.twig'
Usage
//WhateverFormType.php public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('birthday', 'happyr_birthday') }