Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Admin area: add multiple users to project
- Loading branch information
1 parent
f6f72d4
commit fa8c0c7
Showing
5 changed files
with
69 additions
and
1 deletion.
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
= form_tag team_update_admin_project_path(@admin_project), :class => "bulk_import", :method => :put do | ||
.span-6 | ||
%b Project Access: | ||
.span-6 | ||
= select_tag :project_access, options_for_select(Project.access_options), :class => "project-access-select" | ||
|
||
.span-6 | ||
%b Repository Access: | ||
.span-6 | ||
= select_tag :repo_access, options_for_select(Repository.access_options), :class => "repo-access-select" | ||
|
||
%br | ||
= select_tag :user_ids, options_from_collection_for_select(@users , :id, :name), :multiple => true | ||
|
||
%br | ||
.clear | ||
%br | ||
.actions | ||
= submit_tag 'Save', :class => "grey-button" | ||
|
||
:css | ||
form select { | ||
width:300px; | ||
} | ||
|
||
|
||
:javascript | ||
$('select#user_ids').chosen(); | ||
$('select#repo_access').chosen(); | ||
$('select#project_access').chosen(); |
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