5 <%= stylesheet_link_tag "id" %>
6 <!--[if !IE || gte IE 9]><!-->
7 <%= javascript_include_tag "id" %>
12 <% if Settings.key?(:id_key) %>
13 <% token = current_user.access_token(Settings.id_key) %>
14 <% data[:token] = token.token -%>
15 <% data[:token_secret] = token.secret -%>
16 <% data[:consumer_key] = token.client_application.key -%>
17 <% data[:consumer_secret] = token.client_application.secret -%>
19 <% data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s -%>
20 <% data[:locale_path] = asset_path("iD/locales/#{data[:locale]}.json") -%>
21 <% data[:asset_map] = assets("iD").to_json -%>
22 <%= tag.div "", :id => "id-container", :data => data %>