]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/list.rhtml
Fixed indeterminacy in test.
[rails.git] / app / views / trace / list.rhtml
index 6ff6b34a632054e926f1faef7f17d74108563a81..51752a246603773b2e2da2f15ea402ae847015ff 100644 (file)
@@ -1,12 +1,3 @@
-<h1>Public GPS Traces</h1>
-<% if @user %>
-  <%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
-<% end %>
+<%= render :partial => 'trace_header' %>
 
-<table id="keyvalue" cellpadding="3">
-  <tr>
-    <th></th>
-    <th></th>
-  </tr>
-  <%= render :partial => 'trace', :collection => @traces %>
-</table>
+<%= render :partial => 'trace_list' %>