create.blade.php
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@extends('layouts.auth')
@section('title', trans('auth.login'))
@section('message', trans('auth.login_to'))
@section('content')
<form role="form" method="POST" action="{{ url('auth/login') }}">
{{ csrf_field() }}
@stack('email_input_start')
<div class="form-group has-feedback{{ $errors->has('email') ? ' has-error' : '' }}">
<input name="email" type="email" class="form-control" placeholder="{{ trans('general.email') }}" required autofocus>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
@stack('email_input_end')
@stack('password_input_start')
<div class="form-group has-feedback{{ $errors->has('password') ? ' has-error' : '' }}">
<input name="password" type="password" class="form-control" placeholder="{{ trans('auth.password.current') }}" required>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
@stack('password_input_end')
<div class="row">
@stack('remember_input_start')
<div class="col-sm-8">
<div class="checkbox icheck">
<label>
<input name="remember" type="checkbox" {{ old('remember') ? 'checked' : '' }}> {{ trans('auth.remember_me') }}
</label>
</div>
</div>
@stack('remember_input_end')
<!-- /.col -->
<div class="col-sm-4">
<button type="submit" class="btn btn-success btn-block btn-flat">{{ trans('auth.login') }}</button>
</div>
<!-- /.col -->
</div>
</form>
<a href="{{ url('auth/forgot') }}">{{ trans('auth.forgot_password') }}</a><br>
@endsection
@push('js')
<!-- iCheck -->
<script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/icheck.min.js') }}"></script>
@endpush
@push('css')
<!-- iCheck -->
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/iCheck/square/green.css') }}">
@endpush
@push('scripts')
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-green',
radioClass: 'iradio_square-green',
increaseArea: '20%' // optional
});
});
</script>
@endpush