summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 11:30:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 11:30:43 +0000
commit3a7207672effacf018ec3013ff5f46a1ac71d9b3 (patch)
tree230f5085da2741769ad0fda2f8f7d8d632dda42f
parentf8de723c468faa5c53c6511bd6990f739a9fe398 (diff)
downloadredmine-3a7207672effacf018ec3013ff5f46a1ac71d9b3.tar.gz
redmine-3a7207672effacf018ec3013ff5f46a1ac71d9b3.zip
html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10119 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/messages/_form.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb
index 482837e81..f7cd8e367 100644
--- a/app/views/messages/_form.html.erb
+++ b/app/views/messages/_form.html.erb
@@ -8,10 +8,10 @@
<% unless replying %>
<% if @message.safe_attribute? 'sticky' %>
- <label><%= f.check_box :sticky %><%= l(:label_board_sticky) %></label>
+ <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %>
<% end %>
<% if @message.safe_attribute? 'locked' %>
- <label><%= f.check_box :locked %><%= l(:label_board_locked) %></label>
+ <%= f.check_box :locked %> <%= label_tag 'message_locked', l(:label_board_locked) %>
<% end %>
<% end %>
</p>