Sha256: 88e4087e4287ae6a2b2463e95284af5e9319fc6ac435964a432adc7e653284b0
Contents?: true
Size: 641 Bytes
Versions: 7
Compression:
Stored size: 641 Bytes
Contents
module LatoCore class Inputs::Checkbox::Cell < Cell @@requested_args = [:name] @@default_args = { value: false, label: '', help: '', required: 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