{% extends "base.html" %} {% block title %}{{ title }} - EveryTools{% endblock %} {% block top_title %}{{ title }}{% endblock %} {% block content %}

{{ title }}

{{ description }}

{% if notes %}
{{ notes|safe }}
{% endif %}
{% if text_input %}
{% else %}

Drag & drop file{{ 's' if multiple }} here

or click to browse {% if accept %}Accepted: {{ accept }}{% endif %}
{% endif %} {% if options %}
{% for opt in options %}
{% if opt.type == 'select' %} {% elif opt.type == 'number' %} {% elif opt.type == 'color' %} {% elif opt.type == 'text' %} {% elif opt.type == 'password' %} {% elif opt.type == 'file' %} {% elif opt.type == 'checkbox' %} {% elif opt.type == 'range' %}
{{ opt.default|default(50) }}{{ opt.suffix|default('') }}
{% elif opt.type == 'radio' %}
{% for c in opt.choices %} {% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}