mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-23 07:52:23 +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">
|
||||
<link rel="stylesheet"
|
||||
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 %}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -35,7 +35,3 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||
<input type="submit" value="{% trans 'Transfer' %}">
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block extracss %}
|
||||
{{ form.media }}
|
||||
{% endblock extracss %}
|
||||
|
@ -9,7 +9,3 @@
|
||||
<button class="btn btn-primary" type="submit">Submit</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block extracss %}
|
||||
{{ form.media }}
|
||||
{% endblock extracss %}
|
Loading…
Reference in New Issue
Block a user