32 lines
689 B
PHP
32 lines
689 B
PHP
@extends('layouts.app')
|
|
@section('title', 'Login')
|
|
@section('content')
|
|
|
|
<div class="container">
|
|
<div class="container-title">
|
|
|
|
</div>
|
|
|
|
<h1>Efetue seu login</h1>
|
|
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger">
|
|
{{ $errors->first() }}
|
|
</div>
|
|
@endif
|
|
|
|
@if (session('error'))
|
|
<div class="alert alert-danger">
|
|
{{ session('error') }}
|
|
</div>
|
|
|
|
@endif
|
|
|
|
<form action="{{ route('login-post') }}" method="POST">
|
|
@csrf
|
|
<input type="email" name="email" placeholder="E-mail">
|
|
<input type="password" name="password" placeholder="Senha">
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
</div>
|
|
@endsection |