File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
directives/decorators/bootstrap Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ <h3>Model</h3>
56
56
"title" : "Name" ,
57
57
"description" : "Gimme yea name lad" ,
58
58
"type" : "string" ,
59
- "maxLength " : 3
59
+ "minLength " : 2
60
60
} ,
61
- "gender " : {
62
- "title" : "Choose " ,
61
+ "favorite " : {
62
+ "title" : "Favorite " ,
63
63
"type" : "string" ,
64
64
"enum" : [
65
65
"undefined" ,
@@ -97,7 +97,10 @@ <h3>Model</h3>
97
97
}
98
98
} ;
99
99
100
- $scope . form = [ '*' ] ;
100
+ $scope . form = [
101
+ '*' ,
102
+ { type : 'submit' , title : 'Do It!' }
103
+ ] ;
101
104
102
105
$scope . decorator = 'bootstrap-decorator' ;
103
106
Original file line number Diff line number Diff line change 1
1
< 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}} ">
3
3
</ div >
You can’t perform that action at this time.
0 commit comments