{% import 'macros/blocks.html.twig' as blocks %} {% import 'macros/elements.html.twig' as elements %} {% block content %} {% for label, flashes in app.session.flashbag.all %} {% for flash in flashes %} {{ elements.flash(label,flash) }} {% endfor %} {% endfor %} {% if instructions|length != 0 %}

{{ 'set.instructions.text' | trans | raw | nl2br }}

{% for instruction in instructions %} {% endfor %}
{{ 'set.instructions.description' | trans }} {{ 'set.instructions.filesize' | trans }} {{ 'set.instructions.filename' | trans }}
{{ instruction.description }} {{ remoteSize(instruction.uRL) | bytesToSize }} {{ remoteFilename(instruction.uRL) }}

{{ 'set.brickset.credit' | trans | raw }}

{% else %} {{ blocks.empty('empty.instructions.title'|trans, 'empty.instructions.message'|trans) }} {% endif %} {% endblock %}