change id to class

This commit is contained in:
L3D 2022-05-13 01:29:02 +02:00
parent d0039b0996
commit 53c4f9c54c
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@
{{- '\n ' -}} <li> {{- '\n ' -}} <li>
{{- '\n ' -}} <span {{- '\n ' -}} <span
{%- if ing.usda_num is defined and ing.usda_num != "" -%} {%- if ing.usda_num is defined and ing.usda_num != "" -%}
{{- ' id=' -}}"usda_{{- ing.usda_num -}}" {{- ' class=' -}}"usda_{{- ing.usda_num -}}"
{%- endif -%} {%- endif -%}
>{{ ing.ingredient }}: {{ amt.amount }} {{ amt.unit | default('each') }}</span> >{{ ing.ingredient }}: {{ amt.amount }} {{ amt.unit | default('each') }}</span>
{#- {#-
@ -51,7 +51,7 @@
{%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%} {%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%}
{{- ' ' -}}<i><span {{- ' ' -}}<i><span
{%- if sst.usda_num is defined and sst.usda_num != "" -%} {%- if sst.usda_num is defined and sst.usda_num != "" -%}
{{- ' id=' -}}"usda_{{- sst.usda_num -}}" {{- ' class=' -}}"usda_{{- sst.usda_num -}}"
{%- endif -%} {%- endif -%}
>(alternativ {{ sst.ingredient }})</span></i> >(alternativ {{ sst.ingredient }})</span></i>
{%- endif -%} {%- endif -%}

View file

@ -7,7 +7,7 @@
{{- '\n ' -}} <li> {{- '\n ' -}} <li>
{{- '\n ' -}} <span {{- '\n ' -}} <span
{%- if ing.usda_num is defined and ing.usda_num != "" -%} {%- if ing.usda_num is defined and ing.usda_num != "" -%}
{{- ' id=' -}}"usda_{{- ing.usda_num -}}" {{- ' class=' -}}"usda_{{- ing.usda_num -}}"
{%- endif -%} {%- endif -%}
>{{ ing.ingredient }}: nach belieben</span> >{{ ing.ingredient }}: nach belieben</span>
{#- {#-
@ -43,7 +43,7 @@
{%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%} {%- if amt2.amount is defined and amt2.amount != "" and amt2.amount != 0 and amt2.amount != '0' -%}
{{- ' ' -}}<i><span {{- ' ' -}}<i><span
{%- if sst.usda_num is defined and sst.usda_num != "" -%} {%- if sst.usda_num is defined and sst.usda_num != "" -%}
{{- ' id=' -}}"usda_{{- sst.usda_num -}}" {{- ' class=' -}}"usda_{{- sst.usda_num -}}"
{%- endif -%} {%- endif -%}
>(alternativ {{ sst.ingredient }})</span></i> >(alternativ {{ sst.ingredient }})</span></i>
{%- endif -%} {%- endif -%}