{% extends 'admin/model/edit.html' %}

{% block edit_form %}
  <dl class="govuk-summary-list">
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Grant</dt>
      <dd class="govuk-summary-list__value">{{ model.form.collection.grant.name }}</dd>
    </div>
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Collection</dt>
      <dd class="govuk-summary-list__value">{{ model.form.collection.name }}</dd>
    </div>
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Section</dt>
      <dd class="govuk-summary-list__value">{{ model.form.title }}</dd>
    </div>
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Type</dt>
      <dd class="govuk-summary-list__value">{{ model.data_type.value }}</dd>
    </div>
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Text</dt>
      <dd class="govuk-summary-list__value">{{ model.text }}</dd>
    </div>
    <div class="govuk-summary-list__row">
      <dt class="govuk-summary-list__key">Hint</dt>
      <dd class="govuk-summary-list__value">{{ model.hint or "" }}</dd>
    </div>
  </dl>

  {{ super() }}
{% endblock %}
