{% load redirect_tags %}
{% redirect_options request.user redirect %}
{% if redirect.from_app %}

{% trans "From App:" %} {{ redirect.from_app|capfirst }}

{% else %}

{% trans "From URL:" %} {{ redirect.from_url }}{% if redirect.uses_regex %} {% trans "(Uses Regular Expression)" %}{% endif %}

{% endif %}

{% trans "To URL:" %} {{ redirect.to_url }}

{% trans "HTTP Status:" %} {{ redirect.http_status }} {% if redirect.http_status == 302 %}  - {% trans "Temporary Redirect" %} {% else %}  - {% trans "Permanent Redirect" %} {% endif %}

{% csrf_token %}