foodsoft/app/views/admin/users/_form.html.haml
2020-04-11 00:04:49 +02:00

7 lines
313 B
Text

= simple_form_for([:admin, @user]) do |f|
= render 'shared/user_form_fields', f: f, password_autocomplete: false
- unless @user.ordergroup
= f.input :create_ordergroup, as: :boolean, label: false, inline_label: t('.create_ordergroup')
.form-actions
= f.submit
= link_to t('ui.or_cancel'), :back