]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/comments.html.erb
Wrap table header rows in thead
[rails.git] / app / views / diary_entries / comments.html.erb
index 56dba30b875d81d9f37eab7654c323167ee61ae9..00045efc08f992058930b2d18417c29fcc232b16 100644 (file)
@@ -3,11 +3,13 @@
 <% end %>
 
 <table class="messages" width="100%">
-  <tr>
-    <th width="25%"><%= t ".post" %></th>
-    <th width="25%"><%= t ".when" %></th>
-    <th width="50%"><%= t ".comment" %></th>
-  </tr>
+  <thead>
+    <tr>
+      <th width="25%"><%= t ".post" %></th>
+      <th width="25%"><%= t ".when" %></th>
+      <th width="50%"><%= t ".comment" %></th>
+    </tr>
+  </thead>
   <% @comments.each do |comment| -%>
   <% cl = cycle("table0", "table1") %>
   <tr class="<%= cl %><%= " deemphasize" unless comment.visible? %>">