<html>
<head>  
  <title>Ruby on Rails OpenID Consumer Example</title>
  <style type="text/css">
  * {font-family:verdana,sans-serif;}
  body {width:50em; margin:1em;}
  div {padding:.5em; }
  table {margin:none;padding:none;}
  #alert {border:1px solid #e7dc2b; background: #fff888;}
  #login {border:1px solid #777; background: #ddd; margin-top:1em;padding-bottom:0em;}
  </style>
</head>
<body>
  <h2>Ruby on Rails Consumer Example</h3>
  <p>This example asserts that you own the URL typed below; that it is your identity URL.</p>

<% if flash[:notice] -%>
<div id="alert"><%= flash[:notice] %></div>
<% end -%>
  
  <div id="login">
  Verify an Identity URL
  <hr/>
    <form action="<%= url_for :action=>'consumer' %>" method="POST">     
    OpenID: <input type="text" size="40" name="identity" class="openid_identity" />
    <input type="submit" value="Verify" />
    </form>
  </div>

  <div style="font-size:.8em; margin-top:2em;">
  <h3>Notes</h3>
  <ul>
  <li>Specifying an Identity URL on the same WEBRick server will cause
  deadlock unless <code>ActionController::Base.allow_concurrency</code>
  is specified.</li>
  <li>These sample html templates are based on the example contained in the
  <a href="http://openid.schtuff.com/">Python OpenID implementation</a>.</li>
  </ul>
  </div>
</body>
</html>
