symfony2admingenerator / FormExtensionsBundle

Symfony2 form extensions for Admingenerator project (also working standalone!)
Other
13 stars 13 forks source link

DatePicker not working with latest GeneratorBundle? #19

Closed ioleo closed 9 years ago

ioleo commented 9 years ago

TODO: check why the display fails and widget not working.

How it looks: dp-bug

ioleo commented 9 years ago

Note: there are no console errors, but the widget won't show up when clicking either on field or on icon.

ioleo commented 9 years ago

Nevermind. Rookie error. Forgot to add:

{% block stylesheets %}
    {{ parent() }}

    {% include 'AdmingeneratorFormExtensionsBundle::stylesheets.html.twig' %}

    {% if form is defined %}
        {{ form_css(form) }}
    {% endif %}
{% endblock %}

{% block javascripts %}
    {{ parent() }}

    {% include 'AdmingeneratorFormExtensionsBundle::javascripts.html.twig' %}

    {% if form is defined %}
        {{ form_js(form) }}
    {% endif %}
{% endblock %}

To base_admin template.