X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa52ebe6749ba1ea43030f173bfe2101d0f77dc3..bb7c4f93e239c6ff6155b09ffe72a090be3af4f0:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index a626e2b51..7deaa1831 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,43 +1,3 @@ -

Your GPS Traces

- -<% 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 %> - -<% form_tag({:action => 'create'}, :multipart => true) do %> - -
- - - - - -
upload GPX file:<%= file_field('trace', 'gpx_file', {:size => 50, :maxlength => 255}) %>
description:<%= text_field('trace', 'description', {:size => 50, :maxlength => 255}) %>
tags:<%= text_field('trace', 'tagstring', {:size => 50, :maxlength => 255}) %>
public?<%= check_box('trace', 'public', {:checked => 'checked'}) %>
-<%= submit_tag 'Upload' %> | help -
- -<% end %> - -<%= 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_header' %> +<%= render :partial => 'trace_form' %> +<%= render :partial => 'trace_list' %>