Sha256: 6743a17964f9e62e8ec2c5a0fc19f1b5e1aaf65bce7c2411f30ab9855f240c05
Contents?: true
Size: 500 Bytes
Versions: 216
Compression:
Stored size: 500 Bytes
Contents
# -*- encoding : utf-8 -*- InlineForms::SPECIAL_COLUMN_TYPES[:devise_password_field]=:string def devise_password_field_show(object, attribute) link_to_inline_edit object, attribute, '' end def devise_password_field_edit(object, attribute) password_field_tag attribute, '', :class => 'input_devise_password_field' end def devise_password_field_update(object, attribute) if params[attribute.to_sym].blank? # nothing happens else object.password = params[attribute.to_sym] end end
Version data entries
216 entries across 216 versions & 1 rubygems