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 %>