Sha256: c22164755eef0abc13d66f7c84893d9485fb7a6921340eab1b2f783503084568
Contents?: true
Size: 639 Bytes
Versions: 8
Compression:
Stored size: 639 Bytes
Contents
- value = input.get_value_from_submit(@submit) - unless input.is_deleted? && value.nil? .row.formily-input .columns.large-12.clearfix - attrs = {type: :checkbox, name: "formily_inputs[#{input.id}]", id: "checkbox_#{input.id}"} - attrs[:checked] = 'checked' if value.present? - attrs['disabled'] = 'disabled' if @submit.is_complete? %input{input.render_attributes_hash, attrs, value: :checked} %label{for: "checkbox_#{input.id}"}= input.label - if input.description.present? %span.has-tip.tip-bottom{'data-tooltip'=> '', 'aria-haspopup'=>true, title: input.description} ?
Version data entries
8 entries across 8 versions & 1 rubygems