LinkStack/resources/views/panel/site.blade.php

21 lines
712 B
PHP
Executable File

@extends('layouts.sidebar')
@section('content')
<h2 class="mb-4"><i class="bi bi-person"> Site</i></h2>
<form action="{{ route('editSite') }}" enctype="multipart/form-data" method="post">
@csrf
<div class="form-group col-lg-8">
<label>Site logo</label>
<input type="file" class="form-control-file" name="image">
</div>
<div class="form-group col-lg-8">
<label>Admin message in home</label>
<textarea class="form-control" name="message" rows="3">{{ $home_message }}</textarea>
</div>
<button type="submit" class="mt-3 ml-3 btn btn-info">Submit</button>
</form>
@endsection