File: //home/armgroup/libs/resources/views/auth/login.blade.php
@extends('layouts.app')
@section('content')
<div class="container my-5 body-content">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
<div class="card-body">
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="form-group row">
<label for="mobile" class="col-md-4 col-form-label text-md-end">{{ __('Mobile') }}</label>
<div class="col-md-6">
<input id="mobile" dir="ltr" type="text" class="form-control @error('mobile') is-invalid @enderror" name="mobile" value="{{ old('mobile') }}" required autocomplete="mobile" autofocus>
@error('mobile')
<span class="text-danger" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
<div class="form-group row mt-3">
<label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
<div class="col-md-6">
<input id="password" dir="ltr" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
@error('password')
<span class="text-danger" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
<div class="form-group row mt-3">
<div class="col-md-6 offset-md-4">
<div class="form-check">
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label" for="remember">
{{ __('Remember Me') }}
</label>
</div>
</div>
</div>
<div class="form-group row mb-0 mt-3">
<div class="col-md-8 offset-md-4">
<button type="submit" class="btn btn-primary">
{{ __('Login') }}
</button>
@if (Route::has('password.request'))
<a class="btn btn-link" href="{{ route('reset.password') }}">
{{ __('Forgot Your Password?') }}
</a>
@endif
</div>
@if (Route::has('register'))
<div class="col-md-8 offset-md-4 mt-2">
<a class="btn btn-primary px-4 " href="{{ route('register') }}">
کاربر جدید هستید؟ ثبت نام کنید
</a>
</div>
@endif
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection