{% extends "admin/change_form.html" %}
{% load i18n admin_urls %}

{% block title %}{% trans "Import Subnet" %}{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
  <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
  &rsaquo; <a href="{% url subnet_list_url %}">{% trans 'Subnets' %}</a>
  &rsaquo; {% trans 'Import' %}
</div>
{% endblock %}

{% block content %}
<div id="content-main">
  <form action="{% url 'admin:ipam_import_subnet' %}" method="POST" enctype="multipart/form-data">
    {% csrf_token %}
    {{form.as_p}}
    <div class="submit-row">
      <p class="deletelink-box">
        <a href="{% url subnet_list_url %}" class="deletelink">{% trans 'Cancel' %}</a>
      </p>
      <input type="submit" value="{% trans 'Save' %}" class="default" />
    </div>
  </form>
</div>
{% endblock %}
