X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/68637a381c5e08e26ada45718f782486db831227..3db4ac9a8e8dd94bc288e98ff353452e401d0a59:/app/views/trace/_trace_form.rhtml diff --git a/app/views/trace/_trace_form.rhtml b/app/views/trace/_trace_form.rhtml new file mode 100644 index 000000000..299845015 --- /dev/null +++ b/app/views/trace/_trace_form.rhtml @@ -0,0 +1,9 @@ +<% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %> + + + + + + +
Upload GPX File<%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %>
Description<%= f.text_field :description, :size => 50, :maxlength => 255 %>
Tags<%= f.text_field :tagstring, :size => 50, :maxlength => 255 %>
Public?<%= f.check_box :public %>
<%= submit_tag 'Upload' %> | Help
+<% end %>