Skip to content

Commit 433c16f

Browse files
committed
Updated the example a bit
1 parent 364247f commit 433c16f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/bootstrap-example.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ <h3>Model</h3>
5656
"title": "Name",
5757
"description": "Gimme yea name lad",
5858
"type": "string",
59-
"maxLength": 3
59+
"minLength": 2
6060
},
61-
"gender": {
62-
"title": "Choose",
61+
"favorite": {
62+
"title": "Favorite",
6363
"type": "string",
6464
"enum": [
6565
"undefined",
@@ -97,7 +97,10 @@ <h3>Model</h3>
9797
}
9898
};
9999

100-
$scope.form = ['*'];
100+
$scope.form = [
101+
'*',
102+
{ type: 'submit', title: 'Do It!'}
103+
];
101104

102105
$scope.decorator = 'bootstrap-decorator';
103106

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class="form-group">
2-
<input type="submit" class="form-control" value="{{form.title}}">
2+
<input type="submit" class="btn btn-primary" value="{{form.title}}">
33
</div>

0 commit comments

Comments
 (0)