{#- One record in a picker's list, whether the list is in the page or came back from a search. A press keeps the typing in the box, and a click chooses; Enter clicks the highlighted one. Single quotes, because a record's name may hold a double quote. An option of a filter that `picker_counts` names ends with its count, placed by `choice_index`. -#} {% import "adminsite/_icons.html" as icons %} {% import "adminsite/_option_count.html" as counts %}
  • {{ icons.icon("check", 14) }} {{ choice.label }} {%- if picker_counts|default(none) %}{{ counts.slot(picker_counts, choice_index, choice) }}{% endif %}