]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/id.html.erb
Refactor login form to use bootstrap
[rails.git] / app / views / site / id.html.erb
index e2ce6bb0dc1496893793b43c127ea9cd89fab246..0178c8f22f817b2d5c58a85e14cd56ce61e53c81 100644 (file)
@@ -17,8 +17,7 @@
 <% data[:consumer_secret] = token.client_application.secret -%>
 <% end %>
 <% data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s -%>
-<% data[:locale_path] = asset_path("iD/locales/#{data[:locale]}.json") -%>
 <% data[:asset_map] = assets("iD").to_json -%>
-<%= content_tag :div, "", :id => "id-container", :data => data %>
+<%= tag.div "", :id => "id-container", :data => data %>
 </body>
 </html>