Sha256: 954a8075fea5aa9a9b48b90820b26661f5c59abc7da5f8e608bb6cdd8c7f59c7

Contents?: true

Size: 420 Bytes

Versions: 12

Compression:

Stored size: 420 Bytes

Contents

.control-group{:class => ('error' if error_messages.present?)}

  - if label_text.present?
    = builder.label(method, label_text, :class => 'control-label')

  .controls
    - choices.each do |choice|
      %label.radio{:for => choice[:id]}
        #{choice[:field]} #{choice[:label]}

    %p.help-block= 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

Version Path
bootstrap_builder-0.4.0 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.3.3 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.3.2 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.3.1 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.3.0 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.6 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.5 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.4 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.3 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.2 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.1 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.2.0 app/views/bootstrap_builder/_radio_button.html.haml