Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
18 lines
705 B
PHP
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
|