Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal' } do |f|
+= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal users-group-form' } do |f|
%h4.append-bottom-20
New member(s) for
%strong #{@group.name}
And 'I select user "John" from list with role "Reporter"' do
user = User.find_by_name("John")
- within ".new_users_group" do
+ within ".users-group-form" do
select2(user.id, from: "#user_ids", multiple: true)
select "Reporter", from: "group_access"
end