@@ -49,6 +49,7 @@ <h3>Schema</h3>
49
49
< script type ="text/javascript " src ="../bower_components/tv4/tv4.js "> </ script >
50
50
< script type ="text/javascript " src ="../bower_components/ace-builds/src-min-noconflict/ace.js "> </ script >
51
51
< script type ="text/javascript " src ="../bower_components/angular/angular.min.js "> </ script >
52
+ < script type ="text/javascript " src ="../bower_components/angular-sanitize/angular-sanitize.min.js "> </ script >
52
53
< script type ="text/javascript " src ="../bower_components/angular-ui-ace/ui-ace.js "> </ script >
53
54
< script type ="text/javascript " src ="../bower_components/pickadate/lib/picker.js "> </ script >
54
55
< script type ="text/javascript " src ="../bower_components/pickadate/lib/picker.date.js "> </ script >
@@ -143,50 +144,56 @@ <h3>Schema</h3>
143
144
144
145
$scope . form = [
145
146
{
146
- type : "help" ,
147
- helpvalue : "<h1>Yo ninja!</h1>"
148
- } ,
149
- {
150
- type : "tabs" ,
151
- tabs : [
152
- {
153
- name : "Simple stuff" ,
154
- items : [
155
- {
156
- key : "name" ,
157
- placeholder : "Check the console" ,
158
- onChange : "log(modelValue)" ,
159
- feedback : "{'glyphicon': true, 'glyphicon-ok': hasSuccess(), 'glyphicon-star': !hasSuccess() }"
160
- } ,
161
- {
162
- key : "favorite" ,
163
- feedback : false
164
- }
165
- ]
166
- } ,
167
- {
168
- name : "More stuff" ,
169
- items : [
170
- "attributes" ,
147
+ type : "fieldset" ,
148
+ title : "Stuff" ,
149
+ items : [
150
+ {
151
+ type : "tabs" ,
152
+ tabs : [
171
153
{
172
- key : "shoesize" ,
173
- feedback : false
154
+ title : "Simple stuff" ,
155
+ items : [
156
+ {
157
+ key : "name" ,
158
+ placeholder : "Check the console" ,
159
+ onChange : "log(modelValue)" ,
160
+ feedback : "{'glyphicon': true, 'glyphicon-ok': hasSuccess(), 'glyphicon-star': !hasSuccess() }"
161
+ } ,
162
+ {
163
+ key : "favorite" ,
164
+ feedback : false
165
+ }
166
+ ]
174
167
} ,
175
- "things" ,
176
- "soul" ,
177
168
{
178
- type : "conditional" ,
179
- condition : "person.soul" ,
169
+ title : "More stuff" ,
180
170
items : [
181
- { key : "soulserial" , placeholder : "ex. 666" }
171
+ "attributes" ,
172
+ {
173
+ key : "shoesize" ,
174
+ feedback : false
175
+ } ,
176
+ "things"
182
177
]
183
- } ,
184
- { key : "date" , minDate : "2014-06-20" } ,
185
- { key : "radio" , type : "radios" } ,
186
- { key : "radiobuttons" , type : "radiobuttons" }
187
- ]
188
- } ]
178
+ } ]
179
+ } ,
180
+ ]
181
+ } ,
182
+ {
183
+ type : "help" ,
184
+ helpvalue : "<hr>"
185
+ } ,
186
+ "soul" ,
187
+ {
188
+ type : "conditional" ,
189
+ condition : "person.soul" ,
190
+ items : [
191
+ { key : "soulserial" , placeholder : "ex. 666" }
192
+ ]
189
193
} ,
194
+ { key : "date" , minDate : "2014-06-20" } ,
195
+ { key : "radio" , type : "radios" } ,
196
+ { key : "radiobuttons" , type : "radiobuttons" } ,
190
197
{
191
198
type : 'actions' ,
192
199
items : [
0 commit comments