X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ef8761fa52de493c01403211fd3a4481ba759ac..08b71b48e12ed1d34e8a807d913dbf9714635fc6:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index d651d1e8b..291217753 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,34 +1,16 @@ -

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}) %>
description:<%= text_field('trace', 'description', {:size => 50, :maxlength => 255}) %>
tags:<%= text_field('trace', 'tags', {: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_form_tag %> - - - - - - - <%= render :partial => 'trace', :collection => @traces %> -
- <% end %> - - - +<%= render :partial => 'trace_list' %>