28 lines
1.3 KiB
PHP
28 lines
1.3 KiB
PHP
@extends('backend.template')
|
|
@section('content')
|
|
<div class='card'>
|
|
<div class='card-header d-flex justify-content-between align-items-center'>
|
|
<h2 class="">{{ label('Edit Logos') }}</h2>
|
|
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('logos.index')); ?>
|
|
|
|
</div>
|
|
<div class='card-body'>
|
|
<form action="{{ route('logos.update', [$data->logo_id]) }}" id="updateCustomForm" method="POST">
|
|
@csrf <input type=hidden name='logo_id' value='{{ $data->logo_id }}' />
|
|
<div class="row">
|
|
<div class="col-lg-12 pb-2">
|
|
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb', '', $data->logo) }}
|
|
|
|
</div>
|
|
<div class="col-lg-6">{{ createText('link', 'link', 'Link', '', $data->link) }}
|
|
</div>
|
|
<div class="col-lg-12 pb-2">{{ createPlainTextArea('remarks', '', 'Remarks', $data->remarks) }}
|
|
</div>
|
|
<div class="col-md-12"><?php createButton('btn-primary btn-update', '', 'Submit'); ?>
|
|
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('logos.index')); ?>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|