Sha256: 38b2a419c401c179abc769804f62d6a905ea32ad115eb71215865daed3350074
Contents?: true
Size: 689 Bytes
Versions: 7
Compression:
Stored size: 689 Bytes
Contents
module LatoCore class Inputs::Email::Cell < Cell @@requested_args = [:name] @@default_args = { value: '', label: '', placeholder: '', help: '', required: false, disabled: false, class: 'md-12' } def initialize(args = {}) @args = validate_args( args: args, requested_args: @@requested_args, default_args: @@default_args ) set_conditions end def show render 'show.html' end private def set_conditions @show_label = !@args[:label].nil? && !@args[:label].blank? @show_help = !@args[:help].nil? && !@args[:help].blank? end end end
Version data entries
7 entries across 7 versions & 1 rubygems