{%- if empty_filtered -%}
[info]No matching pads.[/info]{{ "" | nl -}}
{%- elif empty -%}
[empty-message]No pads yet, create one with `padz create`[/empty-message]{{ "" | nl -}}
{{ help_text }}
{%- else -%}
{%- for pad in pads -%}
{%- if pad.is_separator -%}
{{- "" | nl -}}
{%- else -%}
{%- include "_pad_line.jinja" -%}
{%- include "_match_lines.jinja" -%}
{%- if pad.peek -%}
{%- include "_peek_content.jinja" -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- if deleted_help -%}
{%- include "_deleted_help.jinja" -%}
{%- endif -%}
{#- Trailing messages (info, warnings, errors from API) -#}
{%- for msg in trailing_messages -%}
{{ msg.content | style_as(msg.style) }}{{ "" | nl }}
{%- endfor -%}
