From: Jean-Philippe Lang
<%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form', :locals => {:container => @issue} %>
+<%= render :partial => 'attachments/form', :locals => {:container => @issue} %>
<% if @issue.safe_attribute? 'watcher_user_ids' -%>diff --git a/app/views/news/_form.html.erb b/app/views/news/_form.html.erb index ad28e12b2..3f48d21de 100644 --- a/app/views/news/_form.html.erb +++ b/app/views/news/_form.html.erb @@ -4,7 +4,7 @@
<%= f.text_field :title, :required => true, :size => 60 %>
<%= f.text_area :summary, :cols => 60, :rows => 2 %>
<%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %>
-<%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form', :locals => {:container => @news} %>
+<%= render :partial => 'attachments/form', :locals => {:container => @news} %>
<%= wikitoolbar_for 'news_description' %>