Sha256: 8bfe53e9b129e782e8c924a76a600f863b5669795e4d0ff5381b92cf0c927948

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Please log in.</title>
  </head>
  <body>
    <h1>Please log in.</h1>
    <form action = "#{try_login_url}" method = "POST">
      <table>
        <tr>
          <td><label for="login">Login:</label></td>
          <td>
            <input id="login" name="login" type="text"
              value="#{@login_name}"/>
          </td>
        </tr>
        <tr>
          <td><label for="password">Password:</label></td>
          <td><input id="password" name="password" type="password"/></td>
        </tr>
        <tr>
          <td colspan="2">
            <button type="submit">Login!</button>
          </td>
        </tr>
        <tr>
          <td id="error" colspan="2">#{@error}</td>
        </tr>
      </table>
    </form>
    <p class="register_link">
      <a href="#{register_url}">Register a new account</a>.
    </p>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-auth-0.2.0 lib/nitro/auth/view/login.xhtml