Sha256: df918880ef896056acbbc9c80796d4760a0c5e81222edb85fae5b88b81e4d93a

Contents?: true

Size: 466 Bytes

Versions: 4

Compression:

Stored size: 466 Bytes

Contents

<%= form_with(id: id,
              aria: aria,
              class: classname,
              data: data,
              builder: form_builder,
              **options) do |form| %>
  <% instance_exec form, &children %>

  <% if validate %>
    <% content_for :pb_js do %>
      <%= javascript_tag do %>
        window.addEventListener('DOMContentLoaded', function() {
          PbFormValidation.start()
        })
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-8.0.0 app/pb_kits/playbook/pb_form/form_with.html.erb
playbook_ui-8.0.0.pre.alpha5 app/pb_kits/playbook/pb_form/form_with.html.erb
playbook_ui-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_form/form_with.html.erb
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_form/form_with.html.erb