X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/565171486f6d90321e0291d5ccc3cf6a1c12e730..d36fab2913d10bef4eae2cee7c34875f20311af9:/app/views/trace/_trace_form.html.erb 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 %>