Sha256: 4c5d58388ad627239c19077f3668371c8df7e96818942d7fb8449bc18be1d06c

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

.form_element{:class => "#{field_name}"}
  .label
    = label_text
    - if required
      %span.required *

  .value
    - choices.each do |choice|
      .option
        = choice[:field]
        %label{:for => choice[:label_for]}= choice[:label]

    - if error_messages.present?
      .errors= error_messages

    - if description.present?
      .description= description

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formatted_form-1.1.0 app/views/formatted_form/_radio_button.html.haml