app/views/versions/show.html.erb <%= form_tag({}) do -%> <table class="list related-issues"> <tr> <th><%= l(:field_category) %></th><th><%= l(:field_subject) %></th><th><%= l(:field_status) %></th><th><%= l(:field_assigned_to) %></th> </tr> <caption><%= l(:label_related_issues) %></caption> <%- @issues.sort do |a, b| if a.closed? == b.closed? a.priority == b.priority ? b.id <=> a.id : b.priority <