Files
larablog/themes/default/views/password.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

18 lines
705 B
PHP

@extends('theme::layout')
@section('content')
<div class="panel article-body">
<h1 class="page-title">{{ $article->title }}</h1>
<p class="meta">{{ __('frontend.common.password_protected') }}</p>
@if(!empty($error))
<p class="flash">{{ $error }}</p>
@endif
<form class="stack" method="post" action="{{ url('/show-'.$article->id.'.shtml') }}">
@csrf
<label for="article-password">{{ __('frontend.common.password') }}</label>
<input id="article-password" type="password" name="password" required>
<button type="submit">{{ __('frontend.common.unlock') }}</button>
</form>
</div>
@endsection