Skip to content

Commit

Permalink
Merge pull request #32 from bolt/bugfix/email-elseif
Browse files Browse the repository at this point in the history
Fix elseif in email template
  • Loading branch information
I-Valchev authored Nov 25, 2020
2 parents db53459 + 56daa9b commit ddb9a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/email_blocks.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<li>
{%- if field.type == 'file' %}
{{ block('file_field_value') }}
{%- if field.type in ['date', 'datetime', 'dateinterval']%}
{%- elseif field.type in ['date', 'datetime', 'dateinterval']%}
{{ block('field_date') }}
{%- else %}
{{ block('field_value') }}
Expand Down

0 comments on commit ddb9a94

Please sign in to comment.