Commit 6853e78e by rizky

login and register

parent 9bc37b71
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="login_wrapper"> <div class="login_wrapper">
<div class="animate form login_form"> <div class="animate form login_form">
<section class="login_content"> <section class="login_content">
<form action="/login" method="POST"> <form action="{{url('/login')}}" method="POST">
{{csrf_field()}} {{csrf_field()}}
<h1>Login Form</h1> <h1>Login Form</h1>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<div id="register" class="animate form registration_form"> <div id="register" class="animate form registration_form">
<section class="login_content"> <section class="login_content">
<form action="/register" method="POST"> <form action="{{url('/register')}}" method="POST">
{{csrf_field()}} {{csrf_field()}}
<h1>Create Account</h1> <h1>Create Account</h1>
<div> <div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="login_wrapper"> <div class="login_wrapper">
{{--<div id="register" class="animate form registration_form">--}} {{--<div id="register" class="animate form registration_form">--}}
<section class="login_content"> <section class="login_content">
<form action="/register" method="POST"> <form action="{{url('/register')}}" method="POST">
{{csrf_field()}} {{csrf_field()}}
<h1>Create Account</h1> <h1>Create Account</h1>
<div> <div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment