mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-27 02:43:01 +00:00
Add form media to each page
This commit is contained in:
parent
c053235996
commit
7bafc89713
@ -31,6 +31,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
crossorigin="anonymous">
|
crossorigin="anonymous">
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
{# Si un formulaire requiert des données supplémentaires (notamment JS), les données sont chargées #}
|
||||||
|
{% if form.media %}
|
||||||
|
{{ form.media }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% block extracss %}{% endblock %}
|
{% block extracss %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -35,7 +35,3 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
|||||||
<input type="submit" value="{% trans 'Transfer' %}">
|
<input type="submit" value="{% trans 'Transfer' %}">
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extracss %}
|
|
||||||
{{ form.media }}
|
|
||||||
{% endblock extracss %}
|
|
||||||
|
@ -9,7 +9,3 @@
|
|||||||
<button class="btn btn-primary" type="submit">Submit</button>
|
<button class="btn btn-primary" type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extracss %}
|
|
||||||
{{ form.media }}
|
|
||||||
{% endblock extracss %}
|
|
Loading…
Reference in New Issue
Block a user