2024-02-05 13:01:14 +01:00
|
|
|
= simple_form_for(@#{singular_table_name}) do |f|
|
2017-01-24 14:36:43 +01:00
|
|
|
= f.error_notification
|
|
|
|
|
|
|
|
.form-inputs
|
2024-02-05 13:01:14 +01:00
|
|
|
- attributes.each do |attribute|
|
|
|
|
= f.send(attribute.reference? ? :association : :input, attribute.name)
|
2017-01-24 14:36:43 +01:00
|
|
|
|
|
|
|
.form-actions
|
|
|
|
= f.button :submit
|