File: //var/www/html/punjabcabs/resources/views/provider/auth/login.blade.php
@extends('provider.layout.auth')
@section('content')
<div class="login-with-social" style="margin-bottom: 25px;">
<a class="twitter-login" href="{{ url('/provider/register') }}"> CREATE NEW ACCOUNT</a>
</div>
<form id="loginForm" class="account-form registration-form" action="{{ url('/provider/login') }}" method="POST">
<div class="text-center custom-title">
<h4>Login</h4>
</div>
{{ csrf_field() }}
<input id="email" type="email" name="email" value="{{ old('email') }}" placeholder="Email" autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
<input id="password" type="password" name="password" placeholder="Password">
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
<label><input type="checkbox" name="remember"> Remember Password</label>
<button type="submit">Login</button>
<div class="text-center or-section">
<a href="{{ url('/provider/password/reset') }}">Forgot Your Password?</a>
</div>
</form>
@if(Setting::get('social_login', 0) == 1)
<div class="text-center">
Or
</div>
<div class="login-with-social">
<!-- <a class="gplus-login" href="{{ url('provider/auth/google') }}"><i class="fa fa-google-plus"></i> Sign in via Google Plus</a> -->
<a class="facebook-login" href="{{ url('provider/auth/facebook') }}"><i class="fa fa-facebook"></i> Sign in via Facebook</a>
</div>
@endif
@endsection