{% extends "partials/base.html" %} {% load static i18n %} {% block title %} {% if platform %} {% trans "Edit Platform" %} {% else %} {% trans "Create Platform" %} {% endif %} {% endblock title %} {% block content %}

{% if platform %} {% trans "Edit Platform" %} {% else %} {% trans "Create Platform" %} {% endif %}

{% if platform %} {% trans "Update Platform Details" %} {% else %} {% trans "Platform Details" %} {% endif %}

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors|join:", " }}
{% endif %}
{{ form.tracking_url }} {% if form.tracking_url.errors %}
{{ form.tracking_url.errors|join:", " }}
{% endif %}
{{ form.order_ss }} {% if platform and platform.order_ss %}
{% trans "Current file:" %} {% trans "View current screenshot" %}
{% else %}
{% trans "Upload a screenshot of the order (optional)." %}
{% endif %} {% if form.order_ss.errors %}
{{ form.order_ss.errors|join:", " }}
{% endif %}
{{ form.review_ss }} {% if platform and platform.review_ss %}
{% trans "Current file:" %} {% trans "View current screenshot" %}
{% else %}
{% trans "Upload a screenshot of the review (optional)." %}
{% endif %} {% if form.review_ss.errors %}
{{ form.review_ss.errors|join:", " }}
{% endif %}
{% trans "Cancel" %}
{% endblock %}