Sha256: b679e9f90c5eb321d995f8db70b495b584be6e6e7993c7564ec925def95f6bee

Contents?: true

Size: 310 Bytes

Versions: 21

Compression:

Stored size: 310 Bytes

Contents

/ # locals: (object: nil)

div style="max-width: 22em" data-controller="pg_form"
  = pg_form_for(@<%= singular_name %> || object) do |f|
  <%- attributes.each do |attribute| -%>
    = f.<%= attribute.reference? ? :pg_associable : :input %> :<%= attribute.name %>
  <%- end -%>
    .mt-2
    = f.button :submit

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pg_rails-7.6.2 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.6.1 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.6.0 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.7 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.6 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.5 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.4 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.3 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.2 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.1 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.5.0 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.4.3 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.4.2 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.4.1 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.4.0 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.3.5 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.3.4 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.3.3 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.3.2 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim
pg_rails-7.3.1 pg_scaffold/lib/generators/pg_slim/templates/_form.html.slim