   </div>

    <div ng-if="$vm.templateCustomFields.length !== 0" ui-sortable="$vm.sortableFields" ng-model="$vm.templateCustomFields">
        <div class="customfield-item" ng-repeat="cf in $vm.templateCustomFields">
            <div class="row">
                <div class="col-sm-12">
                    <span class="drag-handle text-primary clickable mr-xxs">
                        <i class="fa fa-bars"></i>
                    </span>
                    <a href ng-click="$vm.removeCustomField(cf)"><sp