{% if options.picture is defined %} {% for source in options.picture.source %} value is not empty) %}{{ name }}="{{ value }}" {% endfor %}/> {% endfor %} value is not empty) %}{{ name }}="{{ value }}" {% endfor %}/> {% else %} value is not empty) %}{{ name }}="{{ value }}" {% endfor %}/> {% endif %}