You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.4 KiB
PHTML

2 years ago
@extends('layouts.admin-login')
@section('content')
<div class="login-box">
<div class="card">
<div class="card-header text-center login-header">
2 years ago
<h1><b>{{ $settings->site_name }}</b></h1>
2 years ago
</div>
<div class="card-body login-body">
2 years ago
<form method="POST" action="{{ route('cms.login', null, false) }}">
2 years ago
@csrf
<div class="input-group mb-3 mt-2">
<input type="email" name="email" id="email" value="{{ old('email') }}" placeholder="E-mail" class="form-control @error('email') is-invalid @enderror" required autocomplete="email" autofocus />
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-envelope"></span>
</div>
</div>
@error('email')
<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>
@enderror
</div>
<div class="input-group mb-4">
<input type="password" id="password" name="password" value="" placeholder="Password" class="form-control @error('password') is-invalid @enderror" required autocomplete="current-password">
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-lock"></span>
</div>
</div>
@error('password')
<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>
@enderror
</div>
<div class="row mb-1 justify-content-center">
<div class="col-4">
<button type="submit" class="btn btn-primary btn-block">Login</button>
</div>
@if (Route::has('password.request'))
<!--<a class="btn btn-link" href="{{ route('password.request') }}">비밀번호를 잊으셨나요?</a>-->
@endif
</div>
</form>
</div>
</div>
</div>
@endsection