Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Created July 28, 2013 18:52
Show Gist options
  • Save vvikramjhu/6099652 to your computer and use it in GitHub Desktop.
Save vvikramjhu/6099652 to your computer and use it in GitHub Desktop.
<div id="currentOrdersList">
{% for x in display %}
<div id="{{x}}" class="orderClass" float="left" order="reverse">
<li class="orderedItemsListElement">{{display[x]['name']}}</li>
<li class="orderedItemsListElement">{{display[x]['telephone']}}</li>
{% for y in display[x]['items'] %}
<li class="orderedItemsListElement">{{y['name']}} {{y['size']}} {{y['quantity']}}</li>
{% endfor %}
<input id="'c'+{{x}}" name="'c'+{{x}}" type="checkbox"
class="doneBoxes"
onchange='changeDivColor(document.getElementById("{{x}}").id, this.checked)'b />
<label for="'c'+{{x}}">Done!</label>
</div>
{% endfor %}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment