]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_potlatch2.html.erb
Don't fall back to name:en if it's not in the user's language list
[rails.git] / app / views / site / _potlatch2.html.erb
index bab612491a9f79ebc9756dce0c0972d047c62b53..1ff16eac0f4d7004142e7afec7467896f5e04b37 100644 (file)
@@ -15,5 +15,5 @@
   <% end %>
   <% data[:locale] = Locale.list(Potlatch2::LOCALES.keys).preferred(preferred_languages).to_s -%>
   <% data[:locale_path] = asset_path("potlatch2/locales/#{Potlatch2::LOCALES[data[:locale]]}.swf") -%>
-  <%= content_tag :div, t("site.edit.flash_player_required_html"), :id => "potlatch", :data => data %>
+  <%= tag.div t("site.edit.flash_player_required_html"), :id => "potlatch", :data => data %>
 </div>