app/assets/javascripts/chr/admins.coffee in ants-0.1.4 vs app/assets/javascripts/chr/admins.coffee in ants-0.2.0

- old
+ new

@@ -15,10 +15,15 @@ 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' + placeholder: 'Full name' + onInitialize: (input) -> + if input.object + input.$el.removeClass 'input-required' + input.config.disabled = true + input._add_disabled() email: type: 'string' required: true onInitialize: (input) ->