X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d075fc4c1f3e7a17b4c71e7a06fd6cf318e0ef2f..22760a3cc89a3ef9ba65dfd0c5a57a93cde12ccd:/app/views/trace/create.html.erb diff --git a/app/views/trace/create.html.erb b/app/views/trace/create.html.erb index 4b168fab0..1f91ef801 100644 --- a/app/views/trace/create.html.erb +++ b/app/views/trace/create.html.erb @@ -1,8 +1,10 @@ -

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

+<% content_for :heading do %> +

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

+<% end %> <%= error_messages_for 'trace' %> -<% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %> +<%= form_for @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
<%= t'trace.trace_form.upload_gpx' %><%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %>
<%= t'trace.trace_form.description' %><%= f.text_field :description, :size => 50, :maxlength => 255 %>