FEATURE #1358: finish login

Login form should look like finished part of application.
This commit is contained in:
Michal Kváček
2016-01-22 14:00:16 +01:00
parent c801c30dc9
commit dbd551152c
4 changed files with 91 additions and 16 deletions
+17 -10
View File
@@ -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>