fipamo/resources/views/forms/login.blade.php

16 lines
788 B
PHP
Raw Normal View History

<section class="login">
<div>
<img alt="fipamo logo" id="the-logo" class="logo-medium" src="/assets/images/global/fipamo-logo-secondary.svg"/>
</div>
<form action="/login" method="post" enctype="multipart/form-data">
@csrf
<label class="inline">handle</label><input class="input-light" type="text" name="handle" class="inline" placeholder="Handle" required/>
<label class="inline">password</label><input class="input-light" type="password" name="password" class="inline" placeholder="Password" required/>
@if($errors->any())
<input type="submit" value="{{$errors->first()}}" name="submit_button">
@else
<input type="submit" value="Knock Knock" name="submit_button">
@endif
</form>
</section>