Sha256: f2c8a78b18f4995dcabc0bcbca263aa555e31dff57180bb1c52d898deaa1d367

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 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>Register a new account.</title>
    <meta http-equiv="Content-Script-Type" content="text/javascript"/>
    #{include_script "/js/behaviour.js"}
  </head>
  <body>
    <h1>Register a new account.</h1>
    <form id="new_user_form" action="#{new_user_url}" method="POST">
      <table>
        <tr>
          <td><label for="login">Login:</label></td>
          <td>
            <input id="login" name="login" type="text"
              value="#{@new_user.login}"/>
          </td>
        </tr>
        <tr>
          <td><label for="password">Password:</label></td>
          <td><input id="password" name="password" type="password"/></td>
        </tr>
        <tr>
          <td><label for="confirm_password">Confirm Password:</label></td>
          <td>
            <input id="confirm_password" name="confirm_password"
              type="password"/>
          </td>
        </tr>
        <tr>
          <td colspan="2">
            <button id="register_new_user" type="button">Register!</button>
          </td>
        </tr>
        <tr>
          <td id="error" colspan="2">#{@error}</td>
        </tr>
      </table>
    </form>
    <p class="login_link">
      <a href="#{login_url}">Go back to the login page</a>.
    </p>
    <p class="back_link">
      <a href="#{@backlink}">Go back to where I started</a>.
    </p>
    #{helper_script}
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

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