|
|
|
@ -11,12 +11,12 @@
|
|
|
|
|
<div id="put-tag-form-issue" style="display: none">
|
|
|
|
|
<%= form_for "tag_for_save",:remote=>true,:url=>tag_path,
|
|
|
|
|
:update => "tags_show",
|
|
|
|
|
:complete => '$("#put-tag-form-issue").hide();' do |f| %>
|
|
|
|
|
:complete => '$("#put-tag-form-issue").slideUp();' do |f| %>
|
|
|
|
|
<%= f.text_field :name ,:id => "name-issue",:size=>"30" %>
|
|
|
|
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
|
|
|
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
|
|
|
|
<%= f.submit "add"%>
|
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form-issue").hide();'%>
|
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form-issue").slideUp();'%>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -29,12 +29,12 @@
|
|
|
|
|
<div id="put-tag-form" style="display: none">
|
|
|
|
|
<%= form_for "tag_for_save",:remote=>true,:url=>tag_path,
|
|
|
|
|
:update => "tags_show",
|
|
|
|
|
:complete => '$("#put-tag-form").hide();' do |f| %>
|
|
|
|
|
:complete => '$("#put-tag-form").slideUp();' do |f| %>
|
|
|
|
|
<%= f.text_field :name ,:id => "name",:size=>"28"%>
|
|
|
|
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
|
|
|
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
|
|
|
|
<%= f.submit "add"%>
|
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();'%>
|
|
|
|
|
<%= link_to_function l(:button_cancel), '$("#put-tag-form").slideUp();'%>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|