{% extends "base.html" %} {% block title %} Create {{ type|name_by_type(False) }} {% endblock %} {% block content %} Home {{ type|name_by_type }} New {% include "includes/flash.html" %} Create new {{ type|name_by_type(False) }} {{ form.hidden_tag() }} {% for field in form %} {% if field.name != "csrf_token" %} {% for error in field.errors %} {{ error }} {% endfor %} {% if field.name == 'value' %} {{ form.value.label(class="input-group-text w-80") }} {{ form.comparison.label(class="input-group-text w-40") }} {{ form.value2.label(class="input-group-text w-100") }} {{ form.value(class="form-control w-50") }} {{ form.comparison(class="form-control") }} {{ form.value2(class="form-control") }} {% elif field.name != 'comparison' and field.name != 'value2' %} {{ field.label(class="input-group-text fixed-label") }} {% if field.name in chips %} {% for option in field.choices %} {{ option.1 }} {% endfor %} {% else %} {{ field(class="form-control") }} {% endif %} {% if field.name == 'datafiles' %} Upload {% endif %} {% if field.name in chips %} {% for option in field.choices %} {{ option.1 }} {% endfor %} {% endif %} {% endif %} {% endif %} {% endfor %} Create Upload Data File × Choose a file {% endblock %}
{{ error }}
Create