Sha256: 382235985befb7df40601489d00db5d8cd1deb0fb8ae238c5a5ef8e869bfb7b9
Contents?: true
Size: 330 Bytes
Versions: 31
Compression:
Stored size: 330 Bytes
Contents
module Avo module Fields class PasswordField < TextField attr_reader :revealable def initialize(id, **args, &block) show_on :forms super(id, **args, &block) hide_on :index, :show @revealable = args[:revealable].present? ? args[:revealable] : false end end end end
Version data entries
31 entries across 31 versions & 1 rubygems