Simplify HTML

Without the spreadsheet on the page we don’t need the wrapping elements
which were used to add extra spacing.
This commit is contained in:
Chris Hill-Scott
2019-11-13 10:21:22 +00:00
parent fcadab3ce8
commit 4c6822b037

View File

@@ -16,20 +16,19 @@
back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id) back_link=url_for(".edit_service_template", service_id=current_service.id, template_id=new_template.id)
) }} ) }}
<div class="bottom-gutter"> {% if template_change.placeholders_removed %}
{% if template_change.placeholders_removed %} <p>
<p> You removed {{ list_of_placeholders(template_change.placeholders_removed) }}
You removed {{ list_of_placeholders(template_change.placeholders_removed) }} </p>
</p> {% endif %}
{% endif %} {% if template_change.placeholders_added %}
{% if template_change.placeholders_added %} <p>
<p> You added {{ list_of_placeholders(template_change.placeholders_added) }}
You added {{ list_of_placeholders(template_change.placeholders_added) }} </p>
</p> {% endif %}
{% endif %} <p>
</div> Developers, youll need to update your API calls.
</p>
<p class="top-gutter">Developers, youll need to update your API calls</p>
{% call form_wrapper() %} {% call form_wrapper() %}
<input type="hidden" name="name" value="{{ new_template.name }}" /> <input type="hidden" name="name" value="{{ new_template.name }}" />