Sha256: df2c3635dc26c9b7db3ea44fb01ce8248c4f3c03a675de87150def927a2b26d1
Contents?: true
Size: 810 Bytes
Versions: 8
Compression:
Stored size: 810 Bytes
Contents
- attrs = {name: "formily_inputs[#{input.id}]", id: "text_#{input.id}"} - attrs['data-location'] = 'location' if input.default_value == 'device_location' - attrs['data-location'] = 'address' if input.default_value == 'device_location_address' - attrs['disabled'] = 'disabled' if @submit.is_complete? - value = input.get_value_from_submit(@submit, self) - value = nil if @submit.id.to_i == 0 && input.default_value.present? - unless input.is_deleted? && value.nil? .row.formily-input .columns.large-12.clearfix %label.left{for: "text_#{input.id}"}= input.label - if input.description.present? %span.has-tip.tip-bottom{'data-tooltip'=> '', 'aria-haspopup'=> true, title: input.description} ? %input{input.render_attributes_hash, attrs, value: value}
Version data entries
8 entries across 8 versions & 1 rubygems