Sha256: 91249297fc994fafd57ccaf656e5e407b3316e95c03f926c064fff86fa14856f
Contents?: true
Size: 661 Bytes
Versions: 5
Compression:
Stored size: 661 Bytes
Contents
module LatoCore class Inputs::Youtube::Cell < Cell @@requested_args = [:name] @@default_args = { value: '', label: '', placeholder: '', 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
5 entries across 5 versions & 1 rubygems