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