Sha256: e75d3a770d44af8dcea93a2bb39a1ab06e00b6638a0b1ba941d361efb79e953a
Contents?: true
Size: 373 Bytes
Versions: 10
Compression:
Stored size: 373 Bytes
Contents
= simple_form_for(@<%= singular_table_name %>) do |f| = f.error_notification = f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? .form-inputs <%- attributes.each do |attribute| -%> = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> <%- end -%> .form-actions = f.button :submit
Version data entries
10 entries across 10 versions & 1 rubygems