m_domain_search.delete_custom_domain") }}"
              method="POST">
            <input type="hidden" name="domain_id" value="{{ domain.id }}">

            {% if domain_with_data.domain_pending_deletion == False %}
            <button type="submit"
                    onclick="return confirm('Are you sure you would like to delete the custom domain?');"
                    class="btn btn-danger w-100">Delete</button>
            {% endif %}
        </form>
      </div>
    </div>
  </div>
{%- endmacro %}