X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/892c30aa8ca64d1a3e9ec9232b9ddb23bd3321d4..57d3b3af55a0bb37eb964aa75a9f1549df9a771c:/app/views/traces/new.html.erb?ds=sidebyside diff --git a/app/views/traces/new.html.erb b/app/views/traces/new.html.erb new file mode 100644 index 000000000..42d9f8ab2 --- /dev/null +++ b/app/views/traces/new.html.erb @@ -0,0 +1,33 @@ +<% content_for :heading do %> +

<%= t '.upload_trace' %>

+<% end %> + +<%= error_messages_for 'trace' %> + +<%= form_for @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %> +
+
+
+ + <%= f.file_field :gpx_file %> +
+
+ + <%= f.text_field :description %> +
+
+ + <%= f.text_field :tagstring %> + (<%= t '.tags_help' %>) +
+
+ + <%= f.select :visibility, [[t('traces.visibility.private'),"private"],[t('traces.visibility.public'),"public"],[t('traces.visibility.trackable'),"trackable"],[t('traces.visibility.identifiable'),"identifiable"]] %> + (<%= t '.visibility_help' %>) +
+
+ + <%= submit_tag t('.upload_button') %> + <%= t '.help' %> +
+<% end %>