]> BookStack Code Mirror - bookstack/blobdiff - resources/views/auth/user-unconfirmed.blade.php
Guest create page: name field autofocus
[bookstack] / resources / views / auth / user-unconfirmed.blade.php
index 1b0a20a697732eb730988292b63156c6947c933b..2f780b8a31f21eaa097966fdc7b1cb4655b6baef 100644 (file)
@@ -1,29 +1,33 @@
-@extends('public')
+@extends('layouts.simple')
 
 @section('content')
 
-    <div class="row">
-        <div class="col-md-6 col-md-offset-3">
-            <h2>Email Address not confirmed</h2>
-            <p class="text-muted">Your email address has not yet been confirmed. <br>
-                Please click the link in the email that was sent shortly after you registered. <br>
-                If you cannot find the email you can re-send the confirmation email by submitting the form below.
+    <div class="container very-small mt-xl">
+        <div class="card content-wrap auto-height">
+            <h1 class="list-heading">{{ trans('auth.email_not_confirmed') }}</h1>
+
+            <p>{{ trans('auth.email_not_confirmed_text') }}<br>
+                {{ trans('auth.email_not_confirmed_click_link') }}
+            </p>
+            <p>
+                {{ trans('auth.email_not_confirmed_resend') }}
             </p>
-            <hr>
-            <form action="/register/confirm/resend" method="POST">
+
+            <form action="{{ url("/register/confirm/resend") }}" method="POST" class="stretch-inputs">
                 {!! csrf_field() !!}
                 <div class="form-group">
-                    <label for="email">Email Address</label>
-                    @if(auth()->check())
-                        @include('form/text', ['name' => 'email', 'model' => auth()->user()])
+                    <label for="email">{{ trans('auth.email') }}</label>
+                    @if($user)
+                        @include('form.text', ['name' => 'email', 'model' => $user])
                     @else
-                        @include('form/text', ['name' => 'email'])
+                        @include('form.text', ['name' => 'email'])
                     @endif
                 </div>
-                <div class="form-group">
-                    <button type="submit" class="button pos">Resend Confirmation Email</button>
+                <div class="form-group text-right mt-m">
+                    <button type="submit" class="button">{{ trans('auth.email_not_confirmed_resend_button') }}</button>
                 </div>
             </form>
+
         </div>
     </div>