Skip to content

Commit bd2e9a3

Browse files
Update title in array decorator template
Update array decorator template to use idiomatic label element, and showTitle() method.
1 parent 8d4af0a commit bd2e9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/decorators/bootstrap/array.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div sf-array="form" class="schema-form-array {{form.htmlClass}}"
22
ng-model="$$value$$" ng-model-options="form.ngModelOptions">
3-
<h3 ng-show="form.title && form.notitle !== true">{{ form.title }}</h3>
3+
<label class="control-label" ng-show="showTitle()">{{ form.title }}</label>
44
<ol class="list-group" ng-model="modelArray" ui-sortable>
55
<li class="list-group-item {{form.fieldHtmlClass}}"
66
ng-repeat="item in modelArray track by $index">

0 commit comments

Comments
 (0)