{% extends 'horizon/common/_workflow.html' %}
{% load i18n %}
{% load url from future %}

{% block modal-footer %}
  {% if workflow.wizard %}
  <div class="row footer-row">
    <a class="btn btn-default secondary cancel close">{% trans "Cancel" %}</a>
    <button type="button" class="btn btn-default button-previous">{% trans "&laquo;&nbsp;Back" %}</button>
    <button type="button" class="btn btn-primary button-next">{% trans "Next&nbsp;&raquo;" %}</button>
    <button type="submit" class="btn btn-primary button-final">{{ workflow.finalize_button_name }}</button>
  </div>
  {% else %}
    <input class="btn btn-primary pull-right" type="submit" value="{{ workflow.finalize_button_name }}" />
    {% if modal %}<a class="btn btn-default secondary cancel close">{% trans "Cancel" %}</a>{% endif %}
  {% endif %}
{% endblock %}
