src/CoreBundle/Resources/views/Admin/Settings/actions.html.twig
{% macro create(url) %}
<div class="form-actions flex">
<button type="submit" class="btn btn--primary btn-lg mr-4">
<i class="glyphicon glyphicon-ok"></i> {{ 'Create'|trans }}
</button>
<a href="{{ app.request.headers.get('referer', url) }}" class="btn btn--danger btn-lg">
<i class="glyphicon glyphicon-remove"></i> {{ 'Cancel'|trans }}
</a>
</div>
{% endmacro %}
{% macro update(url) %}
<div class="form-actions flex">
<button type="submit" class="btn btn--primary btn-lg mr-4">
<i class="glyphicon glyphicon-save"></i> {{ 'Save settings'|trans }}
</button>
<a href="{{ app.request.headers.get('referer', url) }}" class="btn btn--danger btn-lg">
<i class="glyphicon glyphicon-remove"></i> {{ 'Cancel'|trans }}
</a>
</div>
{% endmacro %}