Skip to content

Commit

Permalink
Rename list item to item, makes more sense from a users perspective
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldfallen committed Dec 22, 2017
1 parent b9bbe16 commit c005e72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/look-and-feel/layouts/add_another.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
{{ header(pageContent.itemsListLabel | default(defaultContent.itemsListLabel), size='medium') }}

<dl class="add-another-list">
{% for fieldName, field in fields.items.fields %}
{% call addAnotherItem(field, deleteUrl(loop.index0), editUrl(loop.index0)) %}
{% block item %}{{ field.value }}{% endblock %}
{% for fieldName, item in fields.items.fields %}
{% call addAnotherItem(item, deleteUrl(loop.index0), editUrl(loop.index0)) %}
{% block item %}{{ item.value }}{% endblock %}
{% endcall %}
{% else %}
{% call addAnotherItem() %}
Expand Down

0 comments on commit c005e72

Please sign in to comment.