X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ded8b55c87f32579b9f42ecb8a58567f4dfe30d..011cfa794a5f0d67a813b8f7969f4ecec36d74ec:/app/views/trace/create.html.erb diff --git a/app/views/trace/create.html.erb b/app/views/trace/create.html.erb index bfdbf37b4..0bc1bcde1 100644 --- a/app/views/trace/create.html.erb +++ b/app/views/trace/create.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t'trace.create.upload_trace' %>

+

<%= t '.upload_trace' %>

<% end %> <%= error_messages_for 'trace' %> @@ -7,24 +7,27 @@ <%= 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'trace.trace_form.tags_help' %>)

-
-
- - <%= f.select :visibility, [[t('trace.visibility.private'),"private"],[t('trace.visibility.public'),"public"],[t('trace.visibility.trackable'),"trackable"],[t('trace.visibility.identifiable'),"identifiable"]] %> -

(<%= t'trace.trace_form.visibility_help' %>)

+
+ + <%= f.file_field :gpx_file %> +
+
+ + <%= f.text_field :description %> +
+
+ + <%= f.text_field :tagstring %> + (<%= t'trace.trace_form.tags_help' %>) +
+
+ + <%= f.select :visibility, [[t('trace.visibility.private'),"private"],[t('trace.visibility.public'),"public"],[t('trace.visibility.trackable'),"trackable"],[t('trace.visibility.identifiable'),"identifiable"]] %> + (<%= t'trace.trace_form.visibility_help' %>) +
+ <%= submit_tag t('trace.trace_form.upload_button') %> -

<%= t'trace.trace_form.help' %>

+ <%= t'trace.trace_form.help' %>
<% end %>