Sha256: 4097553369eac20fa9964eb584986001116cef9c7fa3ab63e1d3fdb70cf7b5b7
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
@Ants ||= {} Ants.adminsConfig = -> showWithParent: true arrayStore: new RailsArrayStore({ resource: 'admin' path: '/admin/admins' sortBy: 'name' searchable: true }) formSchema: name: type: 'string' required: true label: """Name <small>— to update or add avatar, please register on <a href='http://gravatar.com' target='_blank'>Gravatar</a> using same email address</small>""" placeholder: 'Users full name' email: type: 'string' required: true onInitialize: (input) -> if input.object input.$el.removeClass 'input-required' input.config.disabled = true input._add_disabled() password: type: 'password' required: true onInitialize: (input) -> if input.object input.$el.removeClass 'input-required' input.$label.html 'Change Password' input.config.placeholder = 'Type new password here to update the current one' input._add_placeholder()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ants-0.1.4 | app/assets/javascripts/chr/admins.coffee |