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)
) }}
<div class="bottom-gutter">
{% if template_change.placeholders_removed %}
<p>
You removed {{ list_of_placeholders(template_change.placeholders_removed) }}
</p>
{% endif %}
{% if template_change.placeholders_added %}
<p>
You added {{ list_of_placeholders(template_change.placeholders_added) }}
</p>
{% endif %}
</div>
<p class="top-gutter">Developers, youll need to update your API calls</p>
{% if template_change.placeholders_removed %}
<p>
You removed {{ list_of_placeholders(template_change.placeholders_removed) }}
</p>
{% endif %}
{% if template_change.placeholders_added %}
<p>
You added {{ list_of_placeholders(template_change.placeholders_added) }}
</p>
{% endif %}
<p>
Developers, youll need to update your API calls.
</p>
{% call form_wrapper() %}
<input type="hidden" name="name" value="{{ new_template.name }}" />