X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/001ff5764bcf15aaa179dc5c7844038676536622..317b1871f48db1da4abd315c3e67edb910af6b57:/app/views/site/_potlatch2.html.erb diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index e648ed37c..9d271d4ce 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -1,65 +1 @@ -
- <%= t 'site.edit.flash_player_required' %> -
- -<%= javascript_include_tag 'swfobject.js' %> - -<% if defined? POTLATCH2_KEY %> -<% token = @user.access_token(POTLATCH2_KEY) %> -<% else%> - -<% end %> - -<% locale = request.compatible_language_from(Potlatch2::LOCALES.keys) || "en" %> - - +<%= render :partial => "potlatch" %>