|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div id="tags">
|
|
|
|
<div id="tags">
|
|
|
|
<%#begin
|
|
|
|
<%#begin
|
|
|
|
1 代表是user类型
|
|
|
|
1 代表是user类型
|
|
|
@ -76,9 +77,9 @@
|
|
|
|
<%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %>
|
|
|
|
<%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %>
|
|
|
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
|
|
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
|
|
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
|
|
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
|
|
|
<%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %>
|
|
|
|
<%= f.submit l(:button_project_tags_add),:class => "ButtonAddTags" %>
|
|
|
|
|
|
|
|
<!--<a href="#" onclick="$('#target').submit();" class="ButtonColor" ><%#= l(:button_project_tags_add)%></a>-->
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%>
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();',:class=>'ButtonColor'%>
|
|
|
|
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|