X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8fcbe44d3ed8f1e12bae50a104a91bc9feb00e92..refs/pull/5725/head:/resources/views/auth/login.blade.php diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index dda733645..6278adcd7 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,47 +1,37 @@ -@extends('public') - -@section('header-buttons') - @if(setting('registration-enabled', false)) - {{ trans('auth.sign_up') }} - @endif -@stop +@extends('layouts.simple') @section('content') -
-
-

{{ title_case(trans('auth.log_in')) }}

+
-
-
- {!! csrf_field() !!} +
 
+
+

{{ Str::title(trans('auth.log_in')) }}

- @include('auth/forms/login/' . $authMethod) - -
- - - -
+ @include('auth.parts.login-message') + @include('auth.parts.login-form-' . $authMethod) -
- -
- - - @if(count($socialDrivers) > 0) -
- @foreach($socialDrivers as $driver => $name) - - @icon($driver) - {{ trans('auth.log_in_with', ['socialDriver' => $name]) }} + @if(count($socialDrivers) > 0) +
+ @foreach($socialDrivers as $driver => $name) +
+
+ @endforeach + @endif + + @if(setting('registration-enabled') && config('auth.method') === 'standard') + + @endif
-@stop \ No newline at end of file +@stop