mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Move admin user form override into view
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
/ insert_bottom "div[data-hook='admin_user_form_fields'] div.alpha"
|
||||
|
||||
= f.field_container :enterprise_limit do
|
||||
= f.label :enterprise_limit, t(:enterprise_limit)
|
||||
= f.text_field :enterprise_limit, :class => 'fullwidth'
|
||||
@@ -12,6 +12,9 @@
|
||||
= check_box_tag "user[spree_role_ids][]", role.id, @user.spree_roles.include?(role), id: "user_spree_role_#{role.name}"
|
||||
= label_tag role.name
|
||||
= hidden_field_tag "user[spree_role_ids][]", ""
|
||||
= f.field_container :enterprise_limit do
|
||||
= f.label :enterprise_limit, t(:enterprise_limit)
|
||||
= f.text_field :enterprise_limit, class: "fullwidth"
|
||||
.omega.five.columns
|
||||
= f.field_container :password do
|
||||
= f.label :password, Spree.t(:password)
|
||||
|
||||
Reference in New Issue
Block a user