summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 10:53:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 10:53:02 +0000
commitba9f1c03885d3882404cbca54de785cb4b640c51 (patch)
treee0bf2f24c9ec9b657d2d610451e10d245309ae9b /app/views/news
parent45d9763090962549aa5a44bd5e80a0d184135702 (diff)
downloadredmine-ba9f1c03885d3882404cbca54de785cb4b640c51.tar.gz
redmine-ba9f1c03885d3882404cbca54de785cb4b640c51.zip
html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10114 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
-<p id="attachments_form"><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form', :locals => {:container => @news} %></p>
+<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @news} %></p>
</div>
<%= wikitoolbar_for 'news_description' %>