summaryrefslogtreecommitdiff
path: root/example/views/login.erb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-06-26 18:13:22 +0200
committerAzul <azul@leap.se>2012-06-26 18:13:22 +0200
commitf32497f143ef95264706dba27ce3e7a26d7ba6a4 (patch)
treed7296bdc0522206ad957c8131b4e4bb6fbbffb79 /example/views/login.erb
parentfb5ea9059647ca8ee5cea568f47551da547b70f7 (diff)
moved the sample app to it's own subdirectory
Diffstat (limited to 'example/views/login.erb')
-rw-r--r--example/views/login.erb18
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>