Split app.js into individual scripts
This commit is contained in:
parent
304c0d4ba6
commit
42564e085c
6 changed files with 59 additions and 25 deletions
|
@ -1,6 +1,10 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}New Offer{% endblock %}
|
||||
{% block title %}New Offer{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('fileUpload') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% for message in app.flashes('error') %}
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
<meta name="description" content="Register for pflänz.li" />
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('captcha') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% for flashError in app.flashes('verify_email_error') %}
|
||||
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
|
||||
|
|
Reference in a new issue