{% extends "admin/base_site.html" %}
{% load i18n %}

{% block content %}
<h1>{{ title }}</h1>
<p>
  {% blocktrans count total=queryset|length %}
  Deploy {{ total }} DNS record using the selected Node Profile.
  {% plural %}
  Deploy {{ total }} DNS records using the selected Node Profile.
  {% endblocktrans %}
</p>
<form method="post" novalidate>
  {% csrf_token %}
  <table>
    {{ form.as_table }}
  </table>
  <div class="submit-row">
    <button type="submit" class="default" name="apply">{% trans "Deploy" %}</button>
  </div>
</form>
<h2>{% trans "Selected records" %}</h2>
<ul>
  {% for record in queryset %}
    <li>{{ record }}</li>
  {% endfor %}
</ul>
{% endblock %}
