Login works

This commit is contained in:
amazing-username
2017-05-24 21:21:45 -05:00
parent 577b494ecc
commit 6fb825de5c
7 changed files with 150 additions and 19 deletions
+28 -2
View File
@@ -11,14 +11,40 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<body style="background-color:#eee">
<div class="jumbotron text-center">
<h1>Registration Page</h1>
<a href="/">Home</a>
<a href="/"><h1>Home</h1></a>
<!--
<a href="stunt"><button style="height:40%;width:40%"><h1 style="font-size:1000%">Login</h1></button><br></a>
<button style="height:20%;width:20%"><h1 style="font-size:500%">Register</h1></button>
-->
{{ Form::open(array('action' => 'HomeController@registerUser', 'method' => 'post')) }}
<p>
{{ Form::label('first name') }}
{{ Form::text('firstname') }}
</p>
<p>
{{ Form::label('last name') }}
{{ Form::text('lastname') }}
</p>
<p>
{{ Form::label('username') }}
{{ Form::text('username') }}
</p>
<p>
{{ Form::label('password') }}
{{ Form::password('password') }}
</p>
<p>
{{ Form::label('confirm') }}
{{ Form::password('confirm') }}
</p>
<p>
{{ Form::submit('register me') }}
</p>
{{ Form::close() }}
<h1>{{ $message }}</h1>
</div>
</body>
</html>