diff options
Diffstat (limited to 'example/views/login.erb')
-rw-r--r-- | example/views/login.erb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/example/views/login.erb b/example/views/login.erb new file mode 100644 index 0000000..32a16e5 --- /dev/null +++ b/example/views/login.erb @@ -0,0 +1,18 @@ +<h2>2. Login</h2> +<form class="form-horizontal" action="/login" method="POST"> + <legend>Login with the user you <a href="/signup.html">created</a>.</legend> + <div class="control-group"> + <label class="control-label" for="login">Login</label> + <input type="text" class"input-xlarge" name="login"></input> + </div> + + <div class="control-group"> + <label class="control-label" for="password">Password</label> + <input type="password" class"input-xlarge" name="password"></input> + </div> + + <div class="form-actions"> + <button type="submit" class="btn btn-primary">Login</button> + <a href="/" class="btn">Cancel</a> + </div> +</form> |