0
0
Fork 0

Use tt extension for form scaffold template (#29676)

This commit is contained in:
Matt Jankowski 2024-04-10 05:20:21 -04:00 committed by GitHub
parent b8dca8d22a
commit 4948a063d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 1 deletions

View file

@ -0,0 +1,10 @@
= simple_form_for(@<%= singular_table_name %>) do |f|
= f.error_notification
.form-inputs
<%- attributes.each do |attribute| -%>
= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
<%- end -%>
.form-actions
= f.button :submit