views/scaffold/fields.slim in engine2-1.0.3 vs views/scaffold/fields.slim in engine2-1.0.4

- old
+ new

@@ -1,10 +1,10 @@ div - .form-group ng-class="action.errors[f] && 'has-error'" ng-repeat="f in form_field_list track by $index" ng-if="!action.meta.info[f].hidden" - label.control-label ng-class="action.meta.info[f].render.label_width || 'col-sm-3 col-md-3 col-lg-3'" for="{{f}}" ng-bind="::action.meta.info[f].loc" + .form-group ng-class="action.errors[f] && 'has-error'" ng-repeat="f in form_field_list track by $index" ng-if="!action.meta.info[f].hidden" ng-init="info = action.meta.info[f]" + label.control-label ng-class="info.render.label_width || 'col-sm-3 col-md-3 col-lg-3'" for="{{f}}" ng-bind="::info.loc" .col-sm-9.col-md-9.col-lg-9 .row - e2-include template="action.meta.info[f].render.template" + e2-include template="info.render.template" .row .col-sm-12 small.text-danger ng-repeat="e in action.errors[f] track by $index" ng-bind="e" - div ng-if="action.meta.info[f].hr": hr \ No newline at end of file + div ng-if="info.hr": hr