Skip to content
Snippets Groups Projects
Commit 5fbf4aba authored by TonyFord's avatar TonyFord
Browse files

bugfixes

parent 62c13c99
No related branches found
No related tags found
No related merge requests found
...@@ -17,13 +17,9 @@ ...@@ -17,13 +17,9 @@
<label>{{ f.translation | map: include.ln }}</label> <label>{{ f.translation | map: include.ln }}</label>
<select id="{{ fields[0] }}" class="order-form form-control" onchange="createYml()"> <select id="{{ fields[0] }}" class="order-form form-control" onchange="createYml()">
{% for v in fvalues %} {% for v in fvalues %}
<optgroup label="{{ v[1] | map: 'title' | map: include.ln }}"> <optgroup label="{{ v[1].title | map: include.ln }}">
{% assign Tags=v[1] | map: 'Tags' %} {% for tag in v[1].Tags %}
{% for tag in Tags %} <option value="[{{ v[0]}},{{ tag[0] }}]" title="[ {{ v[0]}},{{ tag[0] }} ]"{% if default == val %} selected{% endif %}>{{ tag[1] | map: include.ln }}</option>
{% for t in tag %}
{% assign tt=t | first %}{% capture val %}{{ v[0]}},{{ tt[0] }}{% endcapture %}
<option value="[{{ v[0]}},{{ tt[0] }}]" title="[ {{ v[0]}},{{ tt[0] }} ]"{% if default == val %} selected{% endif %}>{{ tt[1] | map: include.ln }}</option>
{% endfor %}
{% endfor %} {% endfor %}
</optgroup> </optgroup>
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment