mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
57eb621885
* Add blade view to confirm email flow, move actual confirmation to POST request * Apply fixes from StyleCI [ci skip] [skip ci] Co-authored-by: datitisev <datitisev@users.noreply.github.com>
26 lines
762 B
PHP
26 lines
762 B
PHP
@extends('flarum.forum::layouts.basic')
|
|
|
|
@section('title', $translator->trans('core.views.confirm_email.title'))
|
|
|
|
@section('content')
|
|
@if ($errors->any())
|
|
<div class="errors">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
<form class="form" method="POST" action="">
|
|
<input type="hidden" name="csrfToken" value="{{ $csrfToken }}" />
|
|
|
|
<p>{{ $translator->trans('core.views.confirm_email.text') }}</p>
|
|
|
|
<p class="form-group">
|
|
<button type="submit" class="button">{{ $translator->trans('core.views.confirm_email.submit_button') }}</button>
|
|
</p>
|
|
</form>
|
|
@endsection
|