_form.html.haml revision 24e0ce1d4adb31179cda93fa612c3df8268bf63b
=# simple_form_for resource, url: resource_path do |f|
= simple_form_for resource do |f|
= hidden_field_tag :back_url, params[:back_url] || request.referer
= f.input :email
= f.input :name
= f.input :admin
= f.button :submit, class: 'btn btn-primary'