{% extends "layout.html" %} {% block content %}
{{ experiment.author }} {{ experiment.date_created.strftime('%Y-%m-%d') }}
{{ form.hidden_tag() }}
{{ experiment.title }}: {{ legend }}
Newest Version: {{ newest_version }}
{{ form.updated_version.label(class="form-control-label") }} {% if form.updated_version.errors %} {{ form.updated_version(class="form-control form-control-lg is-invalid", placeholder="Must be equal to script.py version.") }}
{% for error in form.updated_version.errors %} {{ error }} {% endfor %}
{% else %} {{ form.updated_version(class="form-control form-control-lg", placeholder="Must be equal to script.py version.") }} {% endif %}
{{ form.script.label() }} {{ form.script(class="form-control-file") }} {% if form.script.errors %} {% for error in form.script.errors %} {{ error }}
{% endfor %} {% endif %}
{{ form.changes.label(class="form-control-label") }} {% if form.changes.errors %} {{ form.changes(class="form-control form-control-lg is-invalid") }}
{% for error in form.changes.errors %} {{ error }} {% endfor %}
{% else %} {{ form.changes(class="form-control form-control-lg") }} {% endif %}
{{ form.submit(class="btn btn-outline-primary")}}
{% endblock content %}