Files
notifications-admin/app/templates/components/list.html
Leo Hemsted 41fa158635 error when users put non-GSM chars in a sms template
additionally, this moves the formatted_list jinja macro into a python
function, so that it can be called from the form validator
2017-02-17 10:39:52 +00:00

8 lines
200 B
HTML

{% macro list_of_placeholders(placeholders) %}
{{ placeholders | formatted_list(
before_each="<span class='placeholder'>((",
after_each='))</span>',
separator=' '
) }}
{%- endmacro %}