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

{% block breadcrumbs %}
<div class="breadcrumbs">
  <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
  &rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
  &rsaquo; <a href="{{ changelist_url }}">{{ opts.verbose_name_plural|capfirst }}</a>
  &rsaquo; {% trans "Fetch Lightsail Database" %}
</div>
{% endblock %}

{% block content %}
<h1>{% trans "Fetch Lightsail Database" %}</h1>
<p>{% trans "Enter the relational database name, region, and optional AWS credentials to pull metadata from Lightsail." %}</p>
<form method="post" action="{{ action_url }}" novalidate>
  {% csrf_token %}
  {{ form.non_field_errors }}
  <table>
    {{ form.as_table }}
  </table>
  <div class="submit-row">
    <input type="submit" value="{% trans 'Discover' %}" class="default">
    <a href="{{ changelist_url }}" class="button">{% trans "Back to list" %}</a>
  </div>
</form>
{% endblock %}
