From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 10:53:02 +0000 (+0000) Subject: html5 compliance. X-Git-Tag: 2.1.0~209 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba9f1c03885d3882404cbca54de785cb4b640c51;p=redmine.git html5 compliance. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10114 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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' %>