OpenID

<%= form_tag(auth_path(:open_id), :id => "openid_form" ) do %>

Please click your account provider:

<%= text_field_tag "openid_url", "http://", id: "openid_url", class: 'form-control' %> <%= submit_tag 'Log in', class: 'btn btn-default' %>
<% end %>
<% run_when_dom_is_ready <<-JS openid.img_path = '/assets/openid-selector/'; openid.init('openid_url'); JS %>