{% extends "pages/base.html" %} {% load i18n %} {% block title %}{% trans "RFID Command Card Burner" %}{% endblock %} {% block content %}

{% trans "RFID" %}

{% trans "Command Card Burner" %}

{% if source_rfid %}

{% blocktrans with label=source_label template=source_template.display_title %} Default source: {{ label }} using {{ template }}. {% endblocktrans %}

{% else %}

{% trans "Default source: previous scanned command card." %}

{% endif %}
{% csrf_token %}
{% if error %}
{% endif %} {% if result and not error %}
{% blocktrans with template=result.template card=result.card_name|default:result.rfid %} Wrote {{ template }} to {{ card }}. {% endblocktrans %}
{% endif %}

{% trans "Available Templates" %}

{{ templates|length }} {% trans "active" %}
{% for template in templates %}

{{ template.name }}

{{ template.display_title }}

{% if template.description %}

{{ template.description }}

{% endif %}
{% trans "Command" %}
{{ template.command_name }}
{% trans "Source" %}
{{ template.get_source_display }}
{% csrf_token %}
{% empty %}

{% trans "No active RFID command templates are available." %}

{% endfor %}
{% endblock %}