mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-04 00:44:41 +08:00
Added login/register message partials for easier use via theme system
Related to #608
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
<div class="card content-wrap auto-height">
|
||||
<h1 class="list-heading">{{ Str::title(trans('auth.log_in')) }}</h1>
|
||||
|
||||
@include('auth.parts.login-message')
|
||||
|
||||
@include('auth.parts.login-form-' . $authMethod)
|
||||
|
||||
@if(count($socialDrivers) > 0)
|
||||
|
2
resources/views/auth/parts/login-message.blade.php
Normal file
2
resources/views/auth/parts/login-message.blade.php
Normal file
@ -0,0 +1,2 @@
|
||||
{{-- This is a placeholder template file provided as a --}}
|
||||
{{-- convenience to users of the visual theme system. --}}
|
2
resources/views/auth/parts/register-message.blade.php
Normal file
2
resources/views/auth/parts/register-message.blade.php
Normal file
@ -0,0 +1,2 @@
|
||||
{{-- This is a placeholder template file provided as a --}}
|
||||
{{-- convenience to users of the visual theme system. --}}
|
@ -8,6 +8,8 @@
|
||||
<div class="card content-wrap auto-height">
|
||||
<h1 class="list-heading">{{ Str::title(trans('auth.sign_up')) }}</h1>
|
||||
|
||||
@include('auth.parts.register-message')
|
||||
|
||||
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
|
Reference in New Issue
Block a user