mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 05:14:05 -05:00
It wasn’t possible to test for this before because the order of placeholders was non-deterministic. The order has been made deterministic in https://github.com/alphagov/notifications-utils/pull/674
16 lines
373 B
HTML
16 lines
373 B
HTML
{% macro list_of_placeholders(placeholders) %}
|
|
{{ placeholders | formatted_list(
|
|
before_each="<span class='placeholder'>((",
|
|
after_each='))</span>',
|
|
separator=' '
|
|
) }}
|
|
{%- endmacro %}
|
|
|
|
{% macro list_of_code_snippets(variables) %}
|
|
{{ variables | formatted_list(
|
|
before_each="<code>",
|
|
after_each='</code>',
|
|
separator=', '
|
|
) }}
|
|
{%- endmacro %}
|