Sha256: 10d14c48fc1e24ce64bb5b82211a375297f66d6f7b15e808b92b79287bda6022
Contents?: true
Size: 630 Bytes
Versions: 3
Compression:
Stored size: 630 Bytes
Contents
toolbar = Luca.register "Luca.components.FormButtonToolbar" toolbar.extends "Luca.components.Toolbar" toolbar.defines className: 'luca-ui-form-toolbar form-actions' position: 'bottom' includeReset: false render: ()-> $(@container).append(@el) @ initialize: (@options={})-> Luca.components.Toolbar.prototype.initialize.apply @, arguments @components = [ ctype: 'button_field' label: 'Submit' class: 'btn submit-button' ] if @includeReset @components.push ctype: 'button_field' label: 'Reset' class: 'btn reset-button'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
luca-0.9.8 | app/assets/javascripts/luca/components/form_button_toolbar.coffee |
luca-0.9.76 | src/components/form_button_toolbar.coffee |
luca-0.9.7 | src/components/form_button_toolbar.coffee |