happyr/birthday-bundle

Happyr birthday bundle gives you a nicer way to render birthday widgets

Installs: 1 478

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.2.6 2017-11-10 15:08 UTC

This package is auto-updated.

Last update: 2020-11-24 22:39:22 UTC


README

Get a nice looking form for birthdays. Enter the year manually and then drop down for month and day.

Example how it will look

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')
}