X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/565171486f6d90321e0291d5ccc3cf6a1c12e730..fa554045e57220a0e87c2cea2ea3e7309f78704a:/app/views/trace/_trace_form.html.erb?ds=sidebyside diff --git a/app/views/trace/_trace_form.html.erb b/app/views/trace/_trace_form.html.erb index 194b8b2bc..3d93b65e8 100644 --- a/app/views/trace/_trace_form.html.erb +++ b/app/views/trace/_trace_form.html.erb @@ -1,3 +1,7 @@ +<% if @user.traces.count(:conditions => ["inserted=?", false]) > 4 %> +
<%= t'trace.trace_header.traces_waiting', :count => @user.traces.count(:conditions => ["inserted=?", false]) %>
+<% end %> + <% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %><%= t'trace.trace_form.upload_gpx' %> | <%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %> |