Sha256: 1146cec41910e018d2ccccdc5c28a22ffea0143b660fe209816efd3171503298
Contents?: true
Size: 364 Bytes
Versions: 3
Compression:
Stored size: 364 Bytes
Contents
= simple_form_for(@<%= singular_table_name %>) do |f| -if @<%= singular_table_name %>.errors.any? .alert-message.error = f.error_notification .inputs <%- attributes.each do |attribute| -%> = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> <%- end -%> .actions = f.button :submit, :class => "btn primary"
Version data entries
3 entries across 3 versions & 1 rubygems