]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace_list.rhtml
Use the rails paginator to paginate the trace list, and abstract some
[rails.git] / app / views / trace / _trace_list.rhtml
diff --git a/app/views/trace/_trace_list.rhtml b/app/views/trace/_trace_list.rhtml
new file mode 100644 (file)
index 0000000..c154702
--- /dev/null
@@ -0,0 +1,13 @@
+<%= render :partial => 'trace_paging_nav' %>
+
+<table id="keyvalue" cellpadding="3">
+  <tr>
+    <th></th>
+    <th></th>
+  </tr>
+  <%= render :partial => 'trace', :collection => @traces unless @traces.nil? %>
+</table>
+
+<%= render :partial => 'trace_paging_nav' %>
+
+<%= render :partial => 'trace_optionals' %>