diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 10:53:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 10:53:02 +0000 |
commit | ba9f1c03885d3882404cbca54de785cb4b640c51 (patch) | |
tree | e0bf2f24c9ec9b657d2d610451e10d245309ae9b /app | |
parent | 45d9763090962549aa5a44bd5e80a0d184135702 (diff) | |
download | redmine-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')
-rw-r--r-- | app/views/issues/new.html.erb | 2 | ||||
-rw-r--r-- | 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 @@ </p> <% end %> - <p id="attachments_form"><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p> + <p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @issue} %></p> <% if @issue.safe_attribute? 'watcher_user_ids' -%> <p id="watchers_form"><label><%= l(:label_issue_watchers) %></label> 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' %> |