FEATURE #1358: finish login
Login form should look like finished part of application.
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="medium-6 medium-centered large-4 large-centered columns login-form">
|
||||
|
||||
@if (session('error'))
|
||||
<div data-alert class="callout alert">
|
||||
<strong>{{ session('error') }}</strong>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('login') }}">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
@@ -18,9 +25,9 @@
|
||||
<input type="text" placeholder="somebody@example.com" name="email">
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
<div data-alert class="callout alert text-center small">
|
||||
{{ $errors->first('email') }}
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
|
||||
@@ -29,16 +36,16 @@
|
||||
<input type="password" placeholder="@lang('admin/loginForm.password')" name="password">
|
||||
|
||||
@if ($errors->has('password'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
<div data-alert class="callout alert text-center small">
|
||||
{{ $errors->first('password') }}
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
|
||||
<label>
|
||||
@lang('admin/loginForm.rememberMe')
|
||||
<input type="checkbox" name="remember">
|
||||
</label>
|
||||
{{--<label>--}}
|
||||
{{--@lang('admin/loginForm.rememberMe')--}}
|
||||
{{--<input type="checkbox" name="remember">--}}
|
||||
{{--</label>--}}
|
||||
|
||||
<p>
|
||||
<button type="submit" class="button expanded">@lang('admin/loginForm.login')</button>
|
||||
|
||||
Reference in New Issue
Block a user