{% extends "../../installer/templates/index.html" %}


{% block body %}

<form action="" method="POST">{% csrf_token %}
    {{ form.as_p }}
    {% if profile %}
    <input type="submit" value="Save" />
    {% else %}
    <input type="submit" value="Create" />
    {% endif %}
</form>
{% if profile %}
    <form action="{% url 'installer_config:DeleteEnv' profile.id %}" method="POST">{% csrf_token %}
        <input type="submit" value="Delete Profile" />
    </form>
{% endif %}

{% endblock %}
{% extends "../../installer/templates/index.html" %}


{% block body %}
<a href="javascript:history.go(-1)"><h4><i class="fa fa-chevron-circle-left"></i> Back</h4></a>

<form action="" method="POST">{% csrf_token %}
    {{ form.as_p }}
    {% if profile %}
    <input type="submit" value="Save" />
    {% else %}
    <input type="submit" value="Create" />
    {% endif %}
</form>
{% if profile %}
    <form action="{% url 'installer_config:DeleteEnv' profile.id %}" method="POST">{% csrf_token %}
        <input type="submit" value="Delete Profile" />
    </form>
{% endif %}

{% endblock %}
Add history back button to profile form
Add history back button to profile form
