X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..57787edc20fceec0c199e1b795f3394424d4cca1:/app/views/trace/create.html.erb diff --git a/app/views/trace/create.html.erb b/app/views/trace/create.html.erb index f4815a946..23346a951 100644 --- a/app/views/trace/create.html.erb +++ b/app/views/trace/create.html.erb @@ -2,7 +2,7 @@ <%= 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 %> |