Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts: config/locales/zh.ymlcourse_group
commit
d788e46546
@ -1,13 +1,14 @@
|
|||||||
<%= link_to '+ 添加标签', 'javascript:void(0);',
|
<%= link_to '+ 添加标签', 'javascript:void(0);',
|
||||||
:class => "yellowBtn f_l",
|
:class => "yellowBtn f_l",
|
||||||
:onclick=>"$('#add_tag_#{obj.id}').slideToggle();" if User.current.logged? %> <!-- $('#put-tag-form-#{obj.class}-#{obj.id}').toggle(); readmore(this); -->
|
:onclick=>"$('#add_tag_#{obj.id}').slideToggle();" if User.current.logged? %> <!-- $('#put-tag-form-#{obj.class}-#{obj.id}').toggle(); readmore(this); -->
|
||||||
<span id="add_tag_<%= obj.id %>" style="display:none; vertical-align: middle;" class="ml10 f_l">
|
|
||||||
<%= form_for "tag_for_save",:remote=>true,:url => save_tag_path,
|
<%= form_for "tag_for_save",:remote=>true,:url => save_tag_path,
|
||||||
:update => "tags_show",
|
:update => "tags_show",
|
||||||
:complete => '$("#put-tag-form").hide();' do |f| %>
|
:complete => '$("#put-tag-form").hide();' do |f| %>
|
||||||
<%= f.text_field :name ,:id => "tags_name_#{obj.id}",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length,:class => "isTxt w90 f_l" %>
|
<span id="add_tag_<%= obj.id %>" style="display:none; vertical-align: middle;" class="ml10 f_l">
|
||||||
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
<%= f.text_field :name ,:id => "tags_name_#{obj.id}",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length,:class => "isTxt w90 f_l" %>
|
||||||
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
||||||
<%= f.submit "",:class => "submit f_l" %>
|
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
||||||
|
<%= f.submit "",:class => "submit f_l" %>
|
||||||
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
|
@ -0,0 +1,5 @@
|
|||||||
|
class AddColumnCopyfromToAttachment < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column("attachments","copy_from",:integer)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue