<style>
    p {
        width: 100%;
    }

    p.title {
        font-size: 1.2em;
        font-weight: bold;
    }
</style>



<p class="title">{% if item.label_title is not empty %}{{ item.label_title|striptags|raw }}{% else %}{{ item.name }} {{ item.size }}{% endif %}</p>

{% if item.dosage is not empty %}
    <p>{{ item.dosage|striptags|raw }}</p>
{% endif %}

{% if page_break is empty %}

    {% if item.label_warnings is not empty %}
        <p>{{ item.label_warnings|striptags|raw }}</p>
    {% endif %}

{% else %}

    {# Forces split to new page when using this tag #}
    <br pagebreak="true"/>

    {# Repeat title on new label#}
    <p class="title">{% if item.label_title is not empty %}{{ item.label_title|striptags|raw }}{% else %}{{ item.name }} {{ item.size }}{% endif %}</p>

    {% if item.label_warnings is not empty %}
        <p>{{ item.label_warnings|striptags|raw }}</p>
    {% endif %}

{% endif %}

