X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3700e6201b4b78a70bbb2941572edc985b63c2c..899fc66a62b036adcfd59f5da80c7fc6f30cd3a8:/app/views/traces/new.html.erb?ds=inline diff --git a/app/views/traces/new.html.erb b/app/views/traces/new.html.erb index 42d9f8ab2..fc6a9f1a9 100644 --- a/app/views/traces/new.html.erb +++ b/app/views/traces/new.html.erb @@ -1,33 +1,33 @@ <% content_for :heading do %> -

<%= t '.upload_trace' %>

+

<%= t ".upload_trace" %>

<% end %> -<%= error_messages_for 'trace' %> +<%= 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' %>) + (<%= 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' %>) + + <%= 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' %> + <%= f.submit %> + "><%= t ".help" %>
<% end %>