Create model for users with email and password
This commit is contained in:
parent
d6500e013d
commit
6682c8c300
6 changed files with 72 additions and 14 deletions
13
views/signup.erb
Normal file
13
views/signup.erb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<h1>Create account</h1>
|
||||
|
||||
<form action="/signup" method="post">
|
||||
<p>
|
||||
<label for="email">Email</label>
|
||||
<input type="text" name="email">
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password</label>
|
||||
<input type="password" name="password">
|
||||
</p>
|
||||
<button type="submit">Create account</button>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue