-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
- Loading branch information
1 parent
b765d7d
commit 09c2f8c
Showing
5 changed files
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
= form_for @users_group, url: group_users_groups_path(@group) do |f| | ||
%fieldset | ||
%legend | ||
New member(s) for | ||
%strong #{@group.name} | ||
group | ||
= form_for @users_group, url: group_users_groups_path(@group), html: { class: 'form-horizontal' } do |f| | ||
%h4.append-bottom-20 | ||
New member(s) for | ||
%strong #{@group.name} | ||
group | ||
|
||
%p 1. Choose users you want in the group | ||
.form-group | ||
= f.label :user_ids, "People" | ||
.col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large') | ||
%p 1. Choose users you want in the group | ||
.form-group | ||
= f.label :user_ids, "People", class: 'control-label' | ||
.col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large') | ||
|
||
%p 2. Set access level for them | ||
.form-group | ||
= f.label :group_access, "Group Access" | ||
.col-sm-10= select_tag :group_access, options_for_select(UsersGroup.group_access_roles, @users_group.group_access), class: "project-access-select chosen" | ||
|
||
.form-actions | ||
= f.submit 'Add users into group', class: "btn btn-create" | ||
%p 2. Set access level for them | ||
.form-group | ||
= f.label :group_access, "Group Access", class: 'control-label' | ||
.col-sm-10= select_tag :group_access, options_for_select(UsersGroup.group_access_roles, @users_group.group_access), class: "project-access-select chosen" | ||
|
||
.form-actions | ||
= f.submit 'Add users into group', class: "btn btn-create" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
%h3.page-title | ||
Issues assigned to me | ||
Issues | ||
%span.pull-right #{@issues.total_count} issues | ||
|
||
%p.light | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters