= simple_form_for @<%= singular_table_name %> do |f| = f.error_notification .form-inputs <%- attributes.each do |attribute| -%>0 .container.form .row .col-md-2 = f.label :<%= attribute.name %> .col-md-10 = f.<%= attribute.reference? ? :associations : :input %> :<%= attribute.name %>, label :false <%- end -%> .row.submit_buttons.ml-auto .col-sm-8.offset-sm-4 = f.button :submit, value: 'salvar', class: 'save_button' = f.button :submit, value: 'cancelar', class: 'submit_buttons', id: 'cancel'