Skip to content

Commit 89f964c

Browse files
committed
Switched span and div for title and description
1 parent 75cbd79 commit 89f964c

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

dist/bootstrap-decorator.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/directives/decorators/bootstrap/checkbox.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
ng-model="$$value$$"
66
schema-validate="form.schema"
77
ng-required="form.required">
8-
<div ng-bind-html="form.title"></div>
8+
<span ng-bind-html="form.title"></span>
99
</label>
1010

11-
<span class="help-block" ng-show="form.description" ng-bind-html="form.description"></span>
11+
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
1212
</div>

src/directives/decorators/bootstrap/checkboxes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
sf-changed="form"
77
ng-model="checkboxValues[value]"
88
ng-change="$$value$$ = checkboxValuesToList(checkboxValues)" >
9-
<div ng-bind-html="form.name"></div>
9+
<span ng-bind-html="form.name"></span>
1010
</label>
1111

1212
</div>
13-
<span class="help-block" ng-show="form.description" ng-bind-html="form.description"></span>
13+
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
1414
</div>

src/directives/decorators/bootstrap/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
<span ng-if="form.feedback !== false"
1313
class="form-control-feedback"
1414
ng-class="evalInScope(form.feedback) || {'glyphicon': true, 'glyphicon-ok': hasSuccess(), 'glyphicon-remove': hasError() }"></span>
15-
<span class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></span>
15+
<div class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></div>
1616
</div>

src/directives/decorators/bootstrap/radio-buttons.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
style="display: none;"
1010
ng-model="$$value$$"
1111
ng-value="value">
12-
<div ng-bind-html="name"></div>
12+
<span ng-bind-html="name"></span>
1313
</label>
1414
</div>
15-
<span class="help-block" ng-show="form.description" ng-bind-html="form.description"></span>
15+
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
1616
</div>

src/directives/decorators/bootstrap/radios.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
sf-changed="form"
77
ng-model="$$value$$"
88
ng-value="value">
9-
<div ng-bind-html="name"></div>
9+
<span ng-bind-html="name"></span>
1010
</label>
1111
</div>
12-
<span class="help-block" ng-show="form.description" ng-bind-html="form.description"></span>
12+
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
1313
</div>

src/directives/decorators/bootstrap/readonly.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<label ng-show="showTitle()">{{form.title}}</label>
33
<input ng-if="form.type !== 'textarea'" type="text" disabled class="form-control" value="{{$$value$$}}">
44
<textarea ng-if="form.type === 'textarea'" disabled class="form-control">{{$$value$$}}</textarea>
5-
<span class="help-block" ng-show="form.description" ng-bind-html="form.description"></span>
5+
<div class="help-block" ng-show="form.description" ng-bind-html="form.description"></div>
66
</div>

src/directives/decorators/bootstrap/select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
ng-required="form.required"
1010
ng-options="val as name for (val,name) in form.titleMap">
1111
</select>
12-
<span class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></span>
12+
<div class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></div>
1313
</div>

src/directives/decorators/bootstrap/textarea.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
<span ng-if="form.feedback !== false"
99
class="form-control-feedback"
1010
ng-class="evalInScope(form.feedback) || { 'glyphicon': true, 'glyphicon-ok': hasSuccess(), 'glyphicon-remove': hasError() }"></span>
11-
<span class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></span>
11+
<div class="help-block" ng-show="form.description" ng-bind-html="(hasError() && errorMessage(schemaError())) || form.description"></div>
1212
</div>

0 commit comments

Comments
 (0)