Added a few more tests
[rails.git] / app / views / issues / _reports.html.erb
index 94ae3ca0e5d15fabcac5f0ba41e34e8dc36c5010..2aff5dbc9a91d348bf7b646ee1df0be6e7914d6e 100644 (file)
@@ -5,13 +5,11 @@
                </div>
                <b><%= link_to report.user.display_name, :controller => :user,:action =>:view, :display_name => report.user.display_name %></b> <br/>
                <% details =  report.details.split("--||--") %>
-               <%= details[0] %> 
+               <label>Tag:</label> 
+               <%= details[1] %>
                <br/>
+               <%= details[0] %> 
                <br/>
-               <label>Tags:</label> 
-               <% details[1..(details.size-1)].each do |tags| %>
-                       <%= tags %>
-               <% end %>
                <br/>
                <span class="deemphasize">
                On <%= l report.created_at.to_datetime, :format => :long %> </span>