X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4434bac3b484006d579b9229a5f69b182644eae7..cfbdd3f7e1c688e2c875ded9fd847fcc1c3a4caf:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index e403d591b..291217753 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,20 +1,6 @@ -

Your GPS Traces

+<%= render :partial => 'trace_header' %> -<% if @tag %> - Traces filtered by tag <%= @tag %> -

-<% end %> -<%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %> -<% if @tag %> - | <%= link_to 'See all your traces', {:controller => 'trace', :action => 'mine'} %> -<% end %> - -
-
- -<% if @user %> - -<%= start_form_tag({:action => 'create'}, :multipart => true) %> +<% form_tag({:action => 'create'}, :multipart => true) do %>
@@ -25,19 +11,6 @@ <%= submit_tag 'Upload' %> | help
upload GPX file:<%= file_field('trace', 'gpx_file', {:size => 50, :maxlength => 255}) %>
- -<%= end_form_tag %> - -<%= render (:partial => 'trace_paging_nav') %> - - - - - - <%= render (:partial => 'trace', :collection => @traces) unless @traces.nil? %> -
-<%= render (:partial => 'trace_paging_nav') %> - <% end %> -<%= render (:partial => 'trace_optionals') %> +<%= render :partial => 'trace_list' %>