修改项目列表TAG

显示,解决新建用户500错误
This commit is contained in:
nieguanghui 2013-08-13 10:43:52 +08:00
parent 9bd5244d8e
commit 4aa174ea74
2 changed files with 2 additions and 1 deletions

View File

@ -276,6 +276,7 @@ class UsersController < ApplicationController
def new
@user = User.new(:language => Setting.default_language, :mail_notification => Setting.default_notification_option)
@auth_sources = AuthSource.all
render :layout => "base"
end
def create

View File

@ -43,7 +43,7 @@
<div class="tags">
<!-- added by william -for tag -->
<div id="tags">
<%= tag('img', {:src => "/images/sidebar/tags.png"}, false, false) %>
<%= image_tag( "/images/sidebar/tags.png") %>
<%= render :partial => 'tags/tag_name', :locals => {:obj => @project,:object_flag => "2",:non_list_all => true }%>
</div>