X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fb1467a94487cfdfcb19e4f88e05be7aa88096f0..d07277efba0c0069705bbefa68f2624a9c6c9ff0:/app/views/trace/mine.rhtml diff --git a/app/views/trace/mine.rhtml b/app/views/trace/mine.rhtml index 41aa0bc1e..c18615f47 100644 --- a/app/views/trace/mine.rhtml +++ b/app/views/trace/mine.rhtml @@ -1,6 +1,8 @@

Your GPS Traces

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

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

<% if @user %> <%= start_form_tag({:action => 'create'}, :multipart => true) %> @@ -8,7 +10,7 @@ - +
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 @@ -18,5 +20,17 @@
<%= 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') %>