This commit is contained in:
z9hang 2015-03-20 16:49:24 +08:00
commit 80c35dcd96
2 changed files with 74 additions and 69 deletions

View File

@ -12,7 +12,7 @@
}
else
{
$("#valid_email").html("您所填写的电子邮件格式不正确");
$("#valid_email").html("您所填写的邮件格式不正确");
}
return false;
}

View File

@ -34,7 +34,12 @@
<!--项目暂时单独出来,后面重构-->
<% if object_flag == '2' %>
<span class="re_tag f_l">
<%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %></span>
<%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %>
<% if (ProjectInfo.find_by_project_id(obj.id)).try(:user_id) == User.current.id %>
<%= link_to 'x', :controller => "tags", :action => "remove_tag", :remote => true, :tag_name => tag,
:taggable_id => obj.id, :taggable_type => object_flag %>
<% end %>
</span>
<% else %>
<div id="tag">
<span class="tag_show">