phiamo/MopaBootstrapBundle — pull request #669 by bierdok (2013-11-04 17:10:54+00:00)
Title: add picker for date datetime and time formtype

In your form builder

```
$builder
->add('a', null, array(
'widget' => 'single_text',
'datepicker' => true,
))
->add('b', null, array(
'widget' => 'single_text',
'datetimepicker' => true,
))
->add('c', null, array(
'widget' => 'single_text',
'timepicker' => true,
))
;
```

In your template (french configuration)

```

{% block foot_script_assetic %}

{{ parent() }}

{% javascripts
'@MopaBootstrapBundle/Resources/public/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.fr.js'
%}

{% endjavascripts %}

{% endblock %}

```