Sha256: ade607f0a8d73a0ff241415eef0cf41da395ba68431d0bad5f9bc8c273279d8d

Contents?: true

Size: 742 Bytes

Versions: 15

Compression:

Stored size: 742 Bytes

Contents

= form_tag do
  .form-group.my-error
    = label_tag 'text_control', 'A'
    = text_field_tag 'text_control', 'Text control value'
    %p.my-error-description
      A is invalid
  .form-group.my-error
    = label_tag 'textarea_control_1', 'B'
    = text_area_tag 'textarea_control_1', "Textarea control line 1\nTextarea control line 2\n"
    %p.my-error-description
      B is invalid
  .form-group.my-error
    = label_tag 'disabled_control', 'Disabled'
    = text_field_tag 'disabled_control', "Disabled control value", disabled: true
    %p.my-error-description
      Disabled is invalid
  .form-group
    = label_tag 'textarea_control_2', 'C'
    = text_area_tag 'textarea_control_2', "Textarea control line 1\nTextarea control line 2\n"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spreewald-4.6.3 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.6.2 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.6.1 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.6.0 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.5.1 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.5.0 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.4.4 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.4.3 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.4.2 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.4.1 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.4.0 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.3.6 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.3.5 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.3.4 tests/shared/app/views/forms/invalid_custom_form.html.haml
spreewald-4.3.3 tests/shared/app/views/forms/invalid_custom_form.html.haml