diff --git a/src/project/templates/project/plugins/content/download_section.html b/src/project/templates/project/plugins/content/download_section.html index 7ed2886..321cc0d 100644 --- a/src/project/templates/project/plugins/content/download_section.html +++ b/src/project/templates/project/plugins/content/download_section.html @@ -6,8 +6,10 @@ {{ item.extension }} {{ item.label }} - {{ item.description }} - + + {% if item.description %}{{ item.description }}{% endif %} + + {% include 'project/assets/download.svg' %} diff --git a/templates/aldryn_forms/fields/multiplecheckboxselectfield.html b/templates/aldryn_forms/fields/multiplecheckboxselectfield.html index 0185a52..cfec3aa 100644 --- a/templates/aldryn_forms/fields/multiplecheckboxselectfield.html +++ b/templates/aldryn_forms/fields/multiplecheckboxselectfield.html @@ -1,35 +1 @@ -{% load aldryn_forms_tags i18n %} - -{% if field %} -
- {{ field.label }} - {% if field.field.required %} - * - {% endif %} -
- {% endblock form_field_label %} - {% block form_field %} - {% for choice in field.field.choices %} - - {% endfor %} - {% endblock form_field %} - {% block form_field_errors %} - {% if field.errors %} - {% for error in field.errors %} - {{ error }} - {% endfor %} - {% endif %} - {% endblock form_field_errors %} - {% block form_field_help_text %} - {% if field.help_text %} -{{ field.help_text }}
- {% endif %} - {% endblock form_field_help_text %} -