framework/views/confirm-email.blade.php
David Sevilla Martín 57eb621885
Move email confirmation to POST request (#3038)
* 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>
2021-08-21 16:13:57 +01:00

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