File: //var/www/html/punjabcabs/resources/views/user/auth/login.blade.php
@extends('user.layout.auth')
@section('content')
<!-- Page Header -->
<div class="page-header">
<div class="container">
<h2 class="page-title">Login</h2>
</div>
</div>
<!-- Page Header End -->
<div class="cps-section cps-section-padding custom-padding">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 col-xs-12">
<div class="cps-section-header text-center">
<h3 class="cps-section-title">Create your account and get moving in minutes</h3>
<p class="cps-section-text">Welcome to {{Setting::get('site_title', 'Unicotaxi')}}, the easiest way to get around at the tap of a button.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
<div class="login-with-social" style="margin-bottom: 25px;">
<a class="twitter-login" href="{{url('register')}}"> CREATE NEW ACCOUNT</a>
</div>
<form id="loginForm" class="account-form" action="{{ url('/login') }}" method="POST">
{{ csrf_field() }}
<input id="email" type="email" placeholder="Email Address" name="email" value="{{ old('email') }}" required autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
<input id="password" type="password" placeholder="Password" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
<label><input type="checkbox" name="remember" {{ old('remember') ? 'checked' : ''}}> Remember Password</label>
<button type="submit">Sign in</button>
</form>
<div class="text-center or-section">
<a href="{{ url('/password/reset') }}">Forgot Password ?</a>
</div>
@if(Setting::get('social_login', 0) == 1)
<div class="text-center">
Or
</div>
<div class="login-with-social">
<a class="gplus-login" href="{{ url('/auth/google') }}"><i class="fa fa-google-plus"></i> Sign in via Google Plus</a>
<a class="facebook-login" href="{{ url('/auth/facebook') }}"><i class="fa fa-facebook"></i> Sign in via Facebook</a>
</div>
@endif
</div>
</div>
</div>
</div>
@endsection