Sha256: 07fbbe2ed0dc4760d3ae578c1f3d6e6b21493eb58cb716ce8f391637041fecfc

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

.clearfix{:class => ('error' if error_messages.present?)}

  %label
    = label_text
    - if required
      %span.required *

  .input
    %ul.inputs-list
      - choices.each do |choice|
        %li
          %label{:for => choice[:label_for]}
            = choice[:field]
            %span= choice[:label]



    - if description.present?
      %span.help-block= description

    - if error_messages.present?
      %span.help-inline= error_messages
    

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
bootstrap_builder-0.1.2 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.1.1 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.1.0 app/views/bootstrap_builder/_radio_button.html.haml
bootstrap_builder-0.0.0 app/views/bootstrap_builder/_radio_button.html.haml
formatted_form-1.1.0 app/views/twitter_bootstrap/_radio_button.html.haml