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
+18 -7
View File
@@ -11,14 +11,25 @@
<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>Login Page</h1>
<a href="/">Home</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>
-->
</div>
<a href="/"><h1>Home</h1></a>
{{ Form::open(array('action' => 'HomeController@loginUser')) }}
<p>
{{ Form::label("username") }}
{{ Form::text("username") }}
</p>
<p>
{{ Form::label("password") }}
{{ Form::password("password") }}
</p>
<p>
{{ Form::submit("Login maxipad resident") }}
</p>
{{ Form::close() }}
<h1>{{ $message }}</h1>
</div>
</body>
</html>