From 0dbbf776c6d65f9e2a1dcc2484871f6cd397015e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 5 May 2007 15:35:28 +0000 Subject: [PATCH] Slight modifications on project settings views git-svn-id: http://redmine.rubyforge.org/svn/trunk@509 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/_members.rhtml | 6 +++--- app/views/projects/settings.rhtml | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/projects/_members.rhtml b/app/views/projects/_members.rhtml index 4283b2ef..01430d19 100644 --- a/app/views/projects/_members.rhtml +++ b/app/views/projects/_members.rhtml @@ -6,7 +6,7 @@ <%= l(:label_user) %> <%= l(:label_role) %> - + <% @project.members.find(:all, :include => [:role, :user]).sort{|x,y| x.role.position <=> y.role.position}.each do |member| %> @@ -34,10 +34,10 @@   <% if authorize_for('projects', 'add_member') && !users.empty? %> -

<% remote_form_for(:member, @member, :url => {:controller => 'projects', :action => 'add_member', :tab => 'members', :id => @project}, :method => :post) do |f| %> +


<%= f.select :user_id, users.collect{|user| [user.name, user.id]} %> <%= l(:label_role) %>: <%= f.select :role_id, roles.collect{|role| [role.name, role.id]}, :selected => nil %> - <%= submit_tag l(:button_add) %> + <%= submit_tag l(:button_add) %>

<% end %> <% end %> diff --git a/app/views/projects/settings.rhtml b/app/views/projects/settings.rhtml index 69d26d29..3405bfb6 100644 --- a/app/views/projects/settings.rhtml +++ b/app/views/projects/settings.rhtml @@ -24,7 +24,7 @@