Sha256: 774f16f407c53545892d894d2b247c1f23b08084a1786339ad2dbe790043c26d
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
<%= content_tag :div, id: "#{field.name}_wrapper", class: field.html_class, 'data-dependency' => field.dependency_json do concat label_tag field.name, field.label << ("*" if field.required?).to_s concat hidden_field_tag field.name, 0 concat check_box_tag field.name, 1, field.checked?, field.attributes.except(:class, :checked) unless field.error.empty? concat content_tag :span, field.error, class: 'error' end end %> <%= field.attributes.inspect %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hungryform-rails-0.0.3 | app/views/hungryform/_checkbox_field.html.erb |