Sha256: f5a79e346c4af2df40c9eddcf944d2046275db45693812ee79c429d9c73ddba2

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

.form_element{:class => "#{field_name}"}

  .value
    = field
    = builder.label(method, label_text)
    
    - if required
      %span.required *

    - 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/_check_box.html.haml