mirror of
https://github.com/meineerde/redmine.git
synced 2026-04-06 16:01:39 +00:00
Fix file drop feature not working in @documents#new@ (#36686).
git-svn-id: http://svn.redmine.org/redmine/trunk@21466 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3c2c5fbc50
commit
65a91d13a0
@ -11,12 +11,10 @@
|
|||||||
<% @document.custom_field_values.each do |value| %>
|
<% @document.custom_field_values.each do |value| %>
|
||||||
<p><%= custom_field_tag_with_label :document, value %></p>
|
<p><%= custom_field_tag_with_label :document, value %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if @document.new_record? %>
|
||||||
|
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= wikitoolbar_for 'document_description' %>
|
<%= wikitoolbar_for 'document_description' %>
|
||||||
|
|
||||||
<% if @document.new_record? %>
|
|
||||||
<div class="box tabular">
|
|
||||||
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user