lib/netzke/basepack/fields.rb in netzke-basepack-1.0.0.1 vs lib/netzke/basepack/fields.rb in netzke-basepack-1.0.1.0

- old
+ new

@@ -4,10 +4,10 @@ module Fields extend ActiveSupport::Concern # Items with normalized fields (i.e. containing all the necessary attributes needed by Ext.form.Form to render a field) def items - prepend_primary_key(config.items) || model_adapter.model_attributes + prepend_primary_key(config.items || attributes) end # Hash of fully configured fields, that are referenced in the items. E.g.: # { # role__name: {xtype: 'netzkeremotecombo', disabled: true, value: "admin"},