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

{% block title %}Add URL{% endblock %}

{% block content_title %}Add URL{% endblock %}
{% block content_description %}Add a url and the corresponding document to EveAI. In some cases, url's cannot be loaded directly. Download the html and add it as a document in that case.{% 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">Add URL</button>
    </form>
{% endblock %}


{% block content_footer %}

{% endblock %}