{% load humanize %} {% load chemical_formula_filter %} {% if "Structure" in table.get_mixin_names %} {% for entry in entries %} {% endfor %}
ID Dashboards Full Formula Spacegroup Density
{{ entry.id }} simmate / provider {{ entry.formula_full | chemical_formula }} {{ entry.spacegroup.number }} {{ entry.density | floatformat:3 }}
{% elif "Molecule" in table.get_mixin_names %} {% load draw_molecule %} {% for entry in entries %}
id = {{ entry.id }}
{% draw_molecule entry width=150 height=150 %}
{% endfor %} {% else %}
ALERT: No default `html_entries_template` has been set for this table, which is why you only see the ID column displayed below. Contact your admin to have this updated.
{% for entry in entries %} {% endfor %}
ID
{{ entry.id }}
{% endif %}