@@ -20,11 +20,11 @@ $fields = collection($fields)
2020 $ fieldData = $ schema ->column ($ field );
2121 if (!empty ($ fieldData ['null ' ])) {
2222%>
23- echo $ this ->Form ->input ('<%= $field %> ' , ['options ' => $ <%= $ keyFields [$ field ] %>, 'empty ' => true ]);
23+ echo $ this ->Form ->input ('<%= $field %> ' , ['options ' => $ <%= $ keyFields [$ field ] %>, 'empty ' => true ]);
2424<%
2525 } else {
2626%>
27- echo $ this ->Form ->input ('<%= $field %> ' , ['options ' => $ <%= $ keyFields [$ field ] %>]);
27+ echo $ this ->Form ->input ('<%= $field %> ' , ['options ' => $ <%= $ keyFields [$ field ] %>]);
2828<%
2929 }
3030 continue ;
@@ -33,16 +33,16 @@ $fields = collection($fields)
3333 $ fieldData = $ schema ->column ($ field );
3434 if (($ fieldData ['type ' ] === 'date ' ) && (!empty ($ fieldData ['null ' ]))) {
3535%>
36- echo $ this ->Form ->input ('<%= $field %> ' , ['empty ' => true , 'default ' => '' ]);
36+ echo $ this ->Form ->input ('<%= $field %> ' , ['empty ' => true , 'default ' => '' ]);
3737<%
3838 } else {
3939 if (empty ($ fieldData ['null ' ])) {
4040%>
41- echo $ this ->Form ->input ('<%= $field %> ' ); <% // Required fields %>
41+ echo $ this ->Form ->input ('<%= $field %> ' ); <% // Required fields %>
4242<%
4343 } else {
4444%>
45- echo $ this ->Form ->input ('<%= $field %> ' );
45+ echo $ this ->Form ->input ('<%= $field %> ' );
4646<%
4747 }
4848
@@ -52,7 +52,7 @@ $fields = collection($fields)
5252 if (!empty ($ associations ['BelongsToMany ' ])) {
5353 foreach ($ associations ['BelongsToMany ' ] as $ assocName => $ assocData ) {
5454%>
55- echo $ this ->Form ->input ('<%= $assocData[ ' property'] %>._ids', ['options ' => $ <%= $ assocData ['variable ' ] %>]);
55+ echo $ this ->Form ->input ('<%= $assocData[ ' property'] %>._ids', ['options ' => $ <%= $ assocData ['variable ' ] %>]);
5656<%
5757 }
5858 }
0 commit comments