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 <%= f.text_field :description %>
8 <%= f.text_field :tagstring %>
9 <%= f.select :visibility,
10 [[t("traces.visibility.private"), "private"],
11 [t("traces.visibility.public"), "public"],
12 [t("traces.visibility.trackable"), "trackable"],
13 [t("traces.visibility.identifiable"), "identifiable"]],
14 :help => link_to(t(".visibility_help"), t(".visibility_help_url")) %>
16 <%= link_to t(".help"), t(".help_url"), :class => "btn btn-link" %>