2020-02-02 10:59:03 +00:00
|
|
|
<form action="{{ url('/login') }}" method="POST" id="login-form" class="mt-l">
|
|
|
|
{!! csrf_field() !!}
|
2016-01-09 19:23:35 +00:00
|
|
|
|
2020-02-02 10:59:03 +00:00
|
|
|
<div class="stretch-inputs">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">{{ trans('auth.username') }}</label>
|
|
|
|
@include('form.text', ['name' => 'username', 'autofocus' => true])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if(session('request-email', false) === true)
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">{{ trans('auth.email') }}</label>
|
|
|
|
@include('form.text', ['name' => 'email'])
|
|
|
|
<span class="text-neg">{{ trans('auth.ldap_email_hint') }}</span>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">{{ trans('auth.password') }}</label>
|
|
|
|
@include('form.password', ['name' => 'password'])
|
|
|
|
</div>
|
|
|
|
|
2020-02-02 12:00:41 +00:00
|
|
|
<div class="form-group text-right pt-s">
|
2020-02-02 10:59:03 +00:00
|
|
|
<button class="button">{{ Str::title(trans('auth.log_in')) }}</button>
|
|
|
|
</div>
|
2016-01-13 22:22:30 +00:00
|
|
|
</div>
|
|
|
|
|
2020-02-02 10:59:03 +00:00
|
|
|
</form>
|