Sha256: 2a25562b38f4427404f4a608f4c4eee95749700761a6cb0cedd240cb4f3e6883
Contents?: true
Size: 854 Bytes
Versions: 8
Compression:
Stored size: 854 Bytes
Contents
<div class="field is-horizontal <%= options.delete(:field_class) %>"> <% if has_label %> <div class="field-label"> <%- label_options[:class] << ' label' %> <%- label_options[:class] << ' required' if options.delete(:required) %> <%= label attribute_name, label_text, label_options %> </div> <% end %> <div class="field-body"> <div class="field"> <div class="control <%= options.delete(:control_class) %>"> <label class="checkbox"> <%= check_box attribute_name, options %> </label> </div> <%- if hint_text.present? %> <p class="help"><%= hint_text %></p> <%- end %> <%- if errors[attribute_name].present? %> <p class="help is-danger"><%= errors.full_messages_for(attribute_name).to_sentence %></p> <%- end %> </div> </div> </div>
Version data entries
8 entries across 8 versions & 1 rubygems