|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<%= link_to(l(:label_upload_files), 'javascript:void(0);', :class => 'icon m5p5 button_submit', :onclick => "$('#relation_file_div').slideUp();$('#upload_file_div').slideToggle('slow');") if User.current.allowed_to?(:manage_files, @project) %>
|
|
|
|
|
<%= link_to(l(:label_relation_files), 'javascript:void(0);', :onclick => "$('#upload_file_div').slideUp();$('#relation_file_div').slideToggle();", :class => 'icon m5p5 button_submit') if User.current.allowed_to?(:manage_files, @project) %>
|
|
|
|
|
<p></p>
|
|
|
|
|
<div id="upload_file_div" class="relation_file_div hidden">
|
|
|
|
|
<div id="upload_file_div" class="relation_file_div <%= !@flag.nil?&&@flag=="true" ? '' : 'hidden'%>">
|
|
|
|
|
<%= render :partial => 'new', locals: {project: @project} %>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="relation_file_div" class="relation_file_div hidden">
|
|
|
|
|