X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/2dcc5105ad0b4f7701099b57f89f45de0d0ff8e8..refs/pull/270/head:/resources/views/auth/login.blade.php diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 2c545f281..928565156 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,38 +1,46 @@ @extends('public') +@section('header-buttons') + @if(setting('registration-enabled', false)) + {{ trans('auth.sign_up') }} + @endif +@stop + @section('content') -
-

Log In

- -
- {!! csrf_field() !!} - -
- - @include('form/text', ['name' => 'email']) -
- -
- - @include('form/password', ['name' => 'password']) - Forgot Password? -
- -
- -
-
- @if(count($socialDrivers) > 0) -
-

Social Login

- @if(isset($socialDrivers['google'])) - - @endif - @if(isset($socialDrivers['github'])) - +
+
+

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

+ +
+ {!! csrf_field() !!} + + + @include('auth/forms/login/' . $authMethod) + +
+ + + +
+ + +
+ +
+
+ + @if(count($socialDrivers) > 0) +
+

{{ trans('auth.social_login') }}

+ @if(isset($socialDrivers['google'])) + + @endif + @if(isset($socialDrivers['github'])) + + @endif @endif - @endif +
@stop \ No newline at end of file