]> source.dussan.org Git - redmine.git/commitdiff
Do not generate duplicate ids and fixes tag attribute.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Jan 2012 17:16:46 +0000 (17:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 8 Jan 2012 17:16:46 +0000 (17:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8561 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/versions/show.html.erb

index 52a4bed1790b7e30007e05a710edc64525ab574a..f23d83f1c88d84f3c632de73a387c3f6704d0ff4 100644 (file)
@@ -18,7 +18,7 @@
 <table>
 <tr>
     <td width="130px" align="right"><%= l(:field_estimated_hours) %></td>
-    <td width="240px" class="total-hours"width="130px" align="right"><%= html_hours(l_hours(@version.estimated_hours)) %></td>
+    <td width="240px" class="total-hours" align="right"><%= html_hours(l_hours(@version.estimated_hours)) %></td>
 </tr>
 <% if User.current.allowed_to?(:view_time_entries, @project) %>
 <tr>
@@ -41,7 +41,7 @@
   <caption><%= l(:label_related_issues) %></caption>
   <%- @issues.each do |issue| -%>
     <tr class="hascontextmenu">
-      <td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
+      <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
       <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
     </tr>
   <% end %>