1 <%= javascript_include_tag "edit/id" %>
4 <% data = { :key => ID_KEY } -%>
5 <% data[:lat] = @lat if @lat -%>
6 <% data[:lon] = @lon if @lon -%>
7 <% data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx] -%>
8 <% data[:url] = id_url(:locale => params[:locale]) -%>
9 <%= content_tag :iframe, "", :frameBorder => 0, :id => "id-embed", :class => "id-embed", :allowfullscreen => "", :data => data %>