{% extends 'base.html' %}
{% from "macros.html" import render_field %}

{% block title %}Retriever Registration{% endblock %}

{% block content_title %}Register Retriever{% endblock %}
{% block content_description %}Define a new retriever for Catalog <b>{% if session.catalog_name %}{{ session.catalog_name }}{% else %}No Catalog{% endif %}</b>{% endblock %}

{% block content %}
    <form method="post">
        {{ form.hidden_tag() }}
        {%  set disabled_fields = [] %}
        {%  set exclude_fields = [] %}
        {% for field in form %}
            {{ render_field(field, disabled_fields, exclude_fields) }}
        {% endfor %}
        <button type="submit" class="btn btn-primary">Register Retriever</button>
    </form>
{% endblock %}

{% block content_footer %}

{% endblock %}
