{% extends "htmx/form_base.html" %} {% block form %} {% include "data_explorer/general_search_options.html" %}

1. Core Information

{% htmx_selectbox name="substance_type" options=component.table.substance_type_options label="Substance Type" %}
{% htmx_text_input name="common_name" label="Common Name" placeholder="e.g. Water" %}
{% htmx_text_input name="iupac_name" label="IUPAC Name" %}
{% htmx_text_input name="parent" label="Parent Substance ID" placeholder="e.g. BCD-012-3456" %}
{% htmx_selectbox name="stereochem_type" options=component.table.StereochemType.choices label="Stereochem Type" %}
{% htmx_text_area name="description" label="Description" placeholder="Optional description of the substance..." %}

2. Flags

{% htmx_checkbox name="is_primary" label="Is Primary?" %}
{% htmx_checkbox name="is_theoretical" label="Is Theoretical?" %}
{% htmx_checkbox name="is_metastable" label="Is Metastable?" %}
{% htmx_checkbox name="is_private" label="Is Private?" %}
{% htmx_checkbox name="is_unknown" label="Is Unknown?" %}
{% htmx_checkbox name="is_delisted" label="Is Delisted?" %}

3. Molecule

{% htmx_molecule_input name="molecule" label="Molecule" %}

4. Structure

{% htmx_structure_input name="structure" label="Structure" %}
{% include "data_explorer/dynamic_submit_button.html" %} {% endblock %}