ajouter.html.twig 736 B

123456789101112131415161718192021
  1. {% extends "videotheque/base.html.twig" %}
  2. {% block title %}Ajouter un titre{% endblock %}
  3. {% block titre %}Ajouter un film{% endblock %}
  4. {% block stylesheets %}
  5. {{ encore_entry_link_tags('tags') }}
  6. {% endblock %}
  7. {% block body %}
  8. {{ include('videotheque/form.html.twig') }}
  9. {% endblock %}
  10. {% block javascripts %}
  11. {{ encore_entry_script_tags('tags') }}
  12. {#<script src="{{ asset('/bundles/app/assets/collectiontypeadd.js') }}"></script>#}
  13. {#<script>
  14. $(document).ready(function () {
  15. requete('{{ path('videotheque_ajax_realisateurs') }}', 'appbundle_film_realisateurs', 'add_realisateur');
  16. requete('{{ path('videotheque_ajax_genres') }}', 'appbundle_film_genres', 'add_genre');
  17. });
  18. </script>
  19. #}
  20. {% endblock %}