added some labels to login and set up forms for better accesibility and clarity about what info is being requested. found a bug in setting where the site would error out if it can't find the correct config files instead of going to set up, so when config files aren't present, it loads template files to continue to process. still thinking about a better fix for this also discovered that the init files needed for a fresh install had been removed, so those are back in place
15 lines
730 B
PHP
15 lines
730 B
PHP
<section class="login">
|
|
<div>
|
|
<img 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 type="text" name="handle" class="inline" placeholder="Handle" required/>
|
|
<label class="inline">password</label><input 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>
|