aboutsummaryrefslogtreecommitdiffstats
path: root/views/index.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.erb')
-rw-r--r--views/index.erb37
1 files changed, 14 insertions, 23 deletions
diff --git a/views/index.erb b/views/index.erb
index 4425304..ff06792 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -1,24 +1,15 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>Ruby Session Exercise</title>
-</head>
-<body>
- <h1>Login</h1>
+<h1>Login</h1>
+
+<form action="." method="post">
+ <div>
+ Username: <input type="text" name="username" />
+ </div>
- <form action="." method="post">
- <div>
- Username: <input type="text" name="username" />
- </div>
-
- <div>
- Password: <input type="password" name="password" />
- </div>
-
- <div>
- <input type="submit" value="Login" />
- </div>
- </form>
-</body>
-</html>
+ <div>
+ Password: <input type="password" name="password" />
+ </div>
+
+ <div>
+ <input type="submit" value="Login" />
+ </div>
+</form>