# ----------------------------------------------------------------------------- # Author: Alexander Kravets , # Slate Studio (http://www.slatestudio.com) # # Coding Guide: # https://github.com/thoughtbot/guides/tree/master/style/coffeescript # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- # INPUT CHECKBOX # ----------------------------------------------------------------------------- class @InputCheckbox extends InputString constructor: (@name, @value, @config, @object) -> @_create_el() @_add_input() @_add_label() @_add_disabled() return this # PRIVATE =============================================== _create_el: -> @$el =$ "