1 <% content_for :heading do %>
2 <h1><%= t ".upload_trace" %></h1>
5 <%= bootstrap_form_for @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
6 <%= f.file_field :gpx_file, :placeholder => t("helpers.file.prompt"),
7 :help => ".gpx, .tar.gz, .tar.bz2, .tar, .zip, .gpx.gz, .gpx.bz2" %>
8 <%= f.text_field :description, :maxlength => 255 %>
9 <%= f.text_field :tagstring %>
10 <%= f.select :visibility,
11 [[t("traces.visibility.private"), "private"],
12 [t("traces.visibility.public"), "public"],
13 [t("traces.visibility.trackable"), "trackable"],
14 [t("traces.visibility.identifiable"), "identifiable"]],
15 :help => link_to(t(".visibility_help"), t(".visibility_help_url")) %>
17 <%= link_to t(".help"), t(".help_url"), :class => "btn btn-link" %>