{% extends "base.html" %} {% block title %}Search{% endblock %} {% load static %} {% include crispy_tags %} {% load crispy_forms_tags %} {% load render_table from django_tables2 %} {% block body %}

Search Page

{{ run_filter.form.run_number|as_crispy_field }} {{ run_filter.form.instrument|as_crispy_field }} {{ run_filter.form.run_description|as_crispy_field }}
{{ run_filter.form.created|as_crispy_field }} {{ run_filter.form.status|as_crispy_field }}

{% if run_table.rows %} {{ options_form.pagination|as_crispy_field }} {% endif %}

{% if not run_table.rows %}

{{run_message}}

{% else %} {% render_table run_table %} {% endif %}
{{ experiment_filter.form.reference_number|as_crispy_field }}

{% if experiment_table.rows %} {{ options_form.pagination|as_crispy_field }} {% endif %}
{% if not experiment_table.rows %}

{{ experiment_message }}

{% else %} {% render_table experiment_table %} {% endif %}
{% endblock %} {% block stylesheets %} {% endblock %} {% block scripts %} {% endblock %}