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

0.2.6 2017-11-10 15:08 UTC

This package is auto-updated.

Last update: 2024-09-25 06:54:04 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')
}