{% import "entry_macros.html" as macros %} {% macro mic_row(label, value, id) -%}
{%- endmacro %} {# card_id should be defined before including this macro #} {% set card_compact = card_compact or False %}
{{ macros.overlay(card_id + "_overlay") }}

Micrograph
{{ mic_row('Defocus U (µm)', '', card_id + '_mic_defocus_u') }} {{ mic_row('Defocus V (µm)', '', card_id + '_mic_defocus_v') }} {{ mic_row('Defocus Angle (°)', '', card_id + '_mic_defocus_angle') }} {{ mic_row('Astigmatism (µm)', '', card_id + '_mic_astigmatism') }} {{ mic_row('Resolution (Å)', '', card_id + '_mic_resolution') }}
Particles
{% set radio_name = card_id + "_pts_switch" %}