File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 33
44class BootstrapFieldList extends Extension {
55
6+
67 protected $ ignores = array ();
78
89
910 public function bootstrapify () {
1011 foreach ($ this ->owner as $ f ) {
1112
13+
1214 if (isset ($ this ->ignores [$ f ->getName ()])) continue ;
1315
1416 // If we have a Tabset, bootstrapify all Tabs
@@ -50,6 +52,7 @@ public function bootstrapify() {
5052 }
5153
5254
55+
5356 public function bootstrapIgnore ($ field ) {
5457 $ this ->ignores [$ field ] = true ;
5558
Original file line number Diff line number Diff line change @@ -155,7 +155,9 @@ public function forTemplate() {
155155 Requirements::javascript (BOOTSTRAP_FORMS_DIR ."/javascript/bootstrap_forms.js " );
156156 }
157157 $ this ->addExtraClass ("form- {$ this ->formLayout }" );
158+
158159 $ this ->applyBootstrap ();
160+
159161 return parent ::forTemplate ();
160162 }
161163
You can’t perform that action at this time.
0 commit comments