laravel12/resources/views/login.blade.php
2025-12-06 18:58:09 +09:00

32 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>관리자 로그인</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light">
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-4">
<h4 class="mb-3">관리자 로그인</h4>
@if (session('error'))
<div class="alert alert-danger">{{session('error')}}</div>
@endif
<form method="POST" action="{{ route('login.process') }}">
@csrf()
<div class="mb-3">
<label class="form-label">이메일</label>
<input type="text" name="email" value="{{ old('email') }}" class="form-control" required>
</div>
<div class="mb-3">
<label class="form-label">비밀번호</label>
<input type="password" name="password" class="form-control" required>
</div>
<button class="btn btn-primary w-100">로그인</button>
</form>
</div>
</div>
</div>
</body>
</html>