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.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@extends('theme::layout')
|
||||
|
||||
@section('content')
|
||||
<div class="panel article-body">
|
||||
<h1 class="page-title">注册</h1>
|
||||
@if ($errors->any())
|
||||
<ul class="flash">
|
||||
@foreach($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
<form class="stack" method="post" action="{{ url('/post.php') }}">
|
||||
@csrf
|
||||
<input type="hidden" name="action" value="register">
|
||||
<label>用户名</label>
|
||||
<input name="username" value="{{ old('username') }}" required>
|
||||
<label>邮箱(可选)</label>
|
||||
<input type="email" name="email" value="{{ old('email') }}">
|
||||
<label>网站(可选)</label>
|
||||
<input type="url" name="url" value="{{ old('url') }}">
|
||||
<label>密码</label>
|
||||
<input type="password" name="password" required>
|
||||
<label>确认密码</label>
|
||||
<input type="password" name="password_confirmation" required>
|
||||
<button type="submit">注册</button>
|
||||
</form>
|
||||
<p class="meta">已有账号?<a href="{{ url('/login.shtml') }}">登录</a></p>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user