<fieldset class="module aligned {{ fieldset.classes }}" style="margin: 10px;">
    {% if fieldset.name %}<legend style="font-size: 120%; font-weight: bold;">{{ fieldset.name }}</legend>{% endif %}
    {% if fieldset.description %}<div class="description">{{ fieldset.description|safe }}</div>{% endif %}
    {% for line in fieldset %}
        <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} ">
            {{ line.errors }}
            {% for field in line %}
            <div class="form-row-field{% if not line.fields|length_is:"1" %} field-box{% endif %}{% if field.field.field.hint_text %} hint-enhanced{% endif %}{% if field.field.field.help_text %} help-enhanced{% endif %}">
                {% if field.is_checkbox %}{{ field.field }}{{ field.label_tag }}
                {% else                 %}{{ field.label_tag }}{{ field.field }}
                {% endif %}
                {% if field.field.field.hint_text %}<p class="hint">{{ field.field.field.hint_text|safe }}</p>{% endif %}
                {% if field.field.field.help_text %}<p class="help">{{ field.field.field.help_text|safe }}</p>{% endif %}
            </div>
            {% endfor %}
        </div>
    {% endfor %}
</fieldset>
