Сайт сделан на Lavarel
@extends('layout')
@section('content')
<div class="news-box ">
<div class="news-box-content">
<form method="POST">
@if (!Auth::check())
<div class="form-group">
<label for="InputName">Ваш логин</label>
<input type="email" class="form-control" name="email" id="InputName" placeholder="Введите логин">
</div>
<div class="form-group">
<label for="InputPassword">Ваш пароль</label>
<input type="password" class="form-control" name="password" id="InputPassword" placeholder="*******">
</div>
<button type="submit" class="btn btn-default" name="login" value="1">Отправить</button>
@else
<button type="submit" class="btn btn-default" name="logout" value="1">Выйти</button>
@endif
</form>
</div>
</div>
@stop