Skip to content

Commit 219c4b0

Browse files
committed
Remove som debug code and added "actions" to example
1 parent 86ab686 commit 219c4b0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/bootstrap-example.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ <h3>Model</h3>
111111

112112
$scope.form = [
113113
'*',
114-
{ type: 'submit', title: 'Do It!'}
114+
{
115+
type: 'actions',
116+
items: [
117+
{ type: 'submit', title: 'Do It!'},
118+
{ type: 'button', title: 'Noooooooooooo'}
119+
]
120+
}
115121
];
116122

117123
$scope.decorator = 'bootstrap-decorator';

src/directives/decorators/bootstrap/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
schema-validate="form.schema">
1010

1111
<span class="help-block" ng-show="form.description && !hasError()">{{form.description}} </span>
12-
<span class="help-block" ng-show="hasError()">{{schemaError}} {{ngModel.$error}}</span>
12+
<span class="help-block" ng-show="hasError()">{{schemaError}}</span>
1313
</div>

0 commit comments

Comments
 (0)