Sha256: a583376719b97867e84b431f9895472ab01911d2640ba585e05cdf862b3b44eb

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 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 #{value[:field]} #{value[:label_text]}
    - else
      %label.checkbox
        = field
        = help_block if help_block.present?
        
      - if error_messages.present?
        %span.help-inline= error_messages

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_builder-0.1.2 app/views/bootstrap_builder/_check_box.html.haml
bootstrap_builder-0.1.1 app/views/bootstrap_builder/_check_box.html.haml