Sha256: 4e106771fc8d255a67c115257f68166223fed39b81af10b7d4fb55632453f61e
Contents?: true
Size: 589 Bytes
Versions: 12
Compression:
Stored size: 589 Bytes
Contents
.control-group{:class => ('error' if error_messages.present?)} - if label_text.present? = builder.label(method, label_text, :class => 'control-label') .controls - if defined?(values) - values.each do |value| %label.checkbox{:for => value[:id]} #{value[:field]} #{value[:label_text]} %p.help-block= help_block if help_block.present? - else = builder.label(method, :class => 'checkbox') do = field = help_block if help_block.present? - if error_messages.present? %span.help-inline= error_messages
Version data entries
12 entries across 12 versions & 1 rubygems