2012-10-15 21:19:17 +02:00
|
|
|
= simple_form_for([:admin, @user]) do |f|
|
2013-12-22 13:28:33 +01:00
|
|
|
= render 'shared/user_form_fields', f: f, password_autocomplete: false
|
2020-03-06 11:46:39 +01:00
|
|
|
= f.input :send_welcome_mail, as: :boolean, label: false, inline_label: t('.send_welcome_mail')
|
2019-11-17 15:01:19 +01:00
|
|
|
- unless @user.ordergroup
|
|
|
|
= f.input :create_ordergroup, as: :boolean, label: false, inline_label: t('.create_ordergroup')
|
2012-10-15 21:19:17 +02:00
|
|
|
.form-actions
|
|
|
|
= f.submit
|
2013-04-04 02:49:52 +02:00
|
|
|
= link_to t('ui.or_cancel'), :back
|