Afform Gui - Support cloning existing forms
[civicrm-core.git] / ext / afform / core / ang / af / afRepeat.html
CommitLineData
243ce6d3 1<div af-repeat-item="item" repeat-index="$index" ng-repeat="item in getItems()">
7f9236da 2 <ng-transclude></ng-transclude>
344e8290
CW
3 <button crm-icon="fa-ban" class="btn btn-xs af-repeat-remove-btn" ng-if="canRemove()" ng-click="removeItem($index)"></button>
4</div>
5<button crm-icon="{{ addIcon || 'fa-plus' }}" class="btn btn-sm af-repeat-add-btn" ng-if="canAdd()" ng-click="addItem()">{{ addLabel }}</button>