source/simple_form/_form.html.slim in staple-0.0.8 vs source/simple_form/_form.html.slim in staple-0.0.9

- old
+ new

@@ -1,8 +1,7 @@ -= simple_form_for(@<%= singular_table_name %>) do |f| - = f.error_notification - .inputs - <%- attributes.each do |attribute| -%> - = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> - <%- end -%> - .actions += simple_form_for(@<%= singular_table_name %>, :html => {'data-abide' => ''}) do |f| + .form-inputs +<%- attributes.each do |attribute| -%> + = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>, input_html: { required: ''}, hint: 'Cannot be blank.' +<%- end -%> + .form-actions = f.button :submit \ No newline at end of file