18 lines
553 B
HTML
18 lines
553 B
HTML
{% load passbook_utils %}
|
|
|
|
{% spaceless %}
|
|
<div class="dynamic-array-widget">
|
|
{% for widget in widget.subwidgets %}
|
|
<div class="array-item input-group">
|
|
{% include widget.template_name %}
|
|
<div class="input-group-btn">
|
|
<button class="array-remove btn btn-danger" type="button">
|
|
<span class="pficon-delete"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
<div><button type="button" class="add-array-item btn btn-default">Add another</button></div>
|
|
</div>
|
|
{% endspaceless %}
|