X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7e3b58b410c2f74a69eebbe3151866a5161dc09..2e2189ecb9e60b6aefda6919a177932372339607:/app/views/trace/mine.rhtml
diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml
index 997e2c297..291217753 100644
--- a/app/views/trace/mine.rhtml
+++ b/app/views/trace/mine.rhtml
@@ -1,9 +1,6 @@
-
Your GPS Traces
+<%= render :partial => 'trace_header' %>
-<%= link_to 'see all traces', {:controller => 'trace', :action => 'list'} %>
-
-<% if @user %>
-<%= start_form_tag({:action => 'create'}, :multipart => true) %>
+<% form_tag({:action => 'create'}, :multipart => true) do %>
upload GPX file: | <%= file_field('trace', 'gpx_file', {:size => 50, :maxlength => 255}) %> |
@@ -14,21 +11,6 @@
<%= submit_tag 'Upload' %> | help
-
-
-
-<%= end_form_tag %>
-
-
-
- |
- |
-
- <%= render :partial => 'trace', :collection => @traces %>
-
-
<% end %>
-
-
-
+<%= render :partial => 'trace_list' %>