{% extends 'generic/object.html' %} {% load i18n %} {% block title %}{% trans "Blade Layout" %} {{ object }}{% endblock %} {% block tabs %} {% endblock %} {% block content %}
{% csrf_token %}
{% trans "Device Bay Templates" %}
{% for row in rows %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Label" %} {% trans "Position X" %} {% trans "Position Y" %}
{{ row.template.name }} {{ row.template.label|default:"—" }} {{ row.form.position_x }} {{ row.form.position_y }}
{% trans "No device bay templates defined." %}
{% if rows %} {% endif %}
{% trans "Preview" %}
{% if preview_rows %}
{{ object.model }}
{% for row in preview_rows %}
{% for bay_name in row %}
{% if bay_name %}{{ bay_name }}{% else %} {% endif %}
{% endfor %}
{% endfor %}
{% else %}

{% trans "Set coordinates to see a preview." %}

{% endif %}
{% endblock %}