1 <%= javascript_include_tag "edit/potlatch" %>
4 <% session[:token] = current_user.tokens.create.token unless session[:token] && UserToken.find_by_token(session[:token]) -%>
5 <% data = { :token => session[:token] } -%>
6 <% data[:lat] = @lat if @lat -%>
7 <% data[:lon] = @lon if @lon -%>
8 <% data[:zoom] = @zoom if @zoom -%>
9 <%= content_tag :div, raw(t("site.edit.flash_player_required")), :id => "potlatch", :data => data %>