{% from "components/ui.html" import card, fields, reference %} {% from "components/flow_profile.html" import profile_selector %} {% macro resource_card(resource) -%} {% call card(resource.reference, "Resource") %} {{ fields(resource.fields) }} {% if resource.wells %}
{{ well.fill.material if well.fill else "Initially empty" }}
{{ well.sample.label }}
{{ fields(well.sample_fields) }} {% endif %} {% if well.incoming %}Across the full procedure; not a measurement of current contents.
{{ note }}
{% endfor %} {% if liquid_class.profiles %}{{ profile_selector(liquid_class.profiles) }}{% endif %} {% endcall %} {%- endmacro %}