Sha256: 41592af4d76c18a71d50c1d1acf50316c7f4d7399630f269e019a923633bd8b6

Contents?: true

Size: 790 Bytes

Versions: 62

Compression:

Stored size: 790 Bytes

Contents

#inline-form.style-guide__subsection

  %h3= link_to_style_guide('components', 'inline_form')

  %p Handles the layout of a form as a simple grid, displaying the form control with a submit button to the left side.

  %p Expects two children with a class of <code>inline-form__cell</code>, which wrap the form control and submit button.

  %p Expects a #{link_to_style_guide('components', 'value', true)} component as a child, to handle the layout of the form control, errors, and notes.

  .style-guide__example-block
    = form_tag '#', class: 'inline-form' do
      .inline-form__cell
        .value
          = text_field_tag 'wl_inline_form_field', nil, class: 'text-box'
          %span.value__error Error Message Text
      %p.inline-form__cell= button_tag 'Submit', class: 'button'

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.26 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.45 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.25 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.23 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.44 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.22 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.43 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.21 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.42 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.20 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.41 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.19 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.40 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.18 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.39 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.17 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.38 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.5.16 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml
workarea-storefront-3.4.37 app/views/workarea/storefront/style_guides/components/_inline_form.html.haml