X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7e3b58b410c2f74a69eebbe3151866a5161dc09..e62eacd8d3c839835308cf01da11827f844d3a91:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index 997e2c297..7deaa1831 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,34 +1,3 @@ -

Your GPS Traces

- -<%= link_to 'see all traces', {:controller => 'trace', :action => 'list'} %>

- -<% if @user %> -<%= start_form_tag({:action => 'create'}, :multipart => true) %> - -
- - - - - -
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_form_tag %> - - - - - - - <%= render :partial => 'trace', :collection => @traces %> -
- -<% end %> - - - - +<%= render :partial => 'trace_header' %> +<%= render :partial => 'trace_form' %> +<%= render :partial => 'trace_list' %>