Files
larablog/themes/default/views/login.blade.php
T
ak 263b98b218 Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
2026-08-12 01:15:38 +08:00

22 lines
914 B
PHP

@extends('theme::layout')
@section('content')
<div class="panel article-body">
<h1 class="page-title">登录</h1>
@if ($errors->any())
<p class="flash">{{ $errors->first() }}</p>
@endif
<form class="stack" method="post" action="{{ url('/post.php') }}">
@csrf
<input type="hidden" name="action" value="dologin">
<label>用户名或邮箱</label>
<input name="login" value="{{ old('login') }}" required autocomplete="username">
<label>密码</label>
<input type="password" name="password" required autocomplete="current-password">
<label><input type="checkbox" name="remember" value="1"> 记住我</label>
<button type="submit">登录</button>
</form>
<p class="meta">没有账号?<a href="{{ url('/reg.shtml') }}">注册</a></p>
</div>
@endsection