lib/templates/haml/scaffold/_form.html.haml in stationed-0.4.0 vs lib/templates/haml/scaffold/_form.html.haml in stationed-0.5.0
- old
+ new
@@ -1,11 +1,11 @@
= form_for(@<%= singular_table_name %>) do |f|
= f.error_notification
- = f.base_errors
+ = f.full_error :base
.form-inputs
<%- attributes.each do |attribute| -%>
= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
<%- end -%>
.form-actions
- = f.submit_or_cancel
+ = f.button :submit