mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-12 14:34:05 -05:00
additionally, this moves the formatted_list jinja macro into a python function, so that it can be called from the form validator
8 lines
200 B
HTML
8 lines
200 B
HTML
{% macro list_of_placeholders(placeholders) %}
|
|
{{ placeholders | formatted_list(
|
|
before_each="<span class='placeholder'>((",
|
|
after_each='))</span>',
|
|
separator=' '
|
|
) }}
|
|
{%- endmacro %}
|