From ba9f1c03885d3882404cbca54de785cb4b640c51 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 10:53:02 +0000 Subject: [PATCH] html5 compliance. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10114 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/new.html.erb | 2 +- app/views/news/_form.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 1284c5003..63a6e2496 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -18,7 +18,7 @@

<% end %> -

<%= 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' %> -- 2.39.5