27 lines
1.2 KiB
PHP
27 lines
1.2 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 Partners') }}</h2>
|
|
|
|
</div>
|
|
<div class='card-body'>
|
|
<form action="{{ route('partners.update', [$data->partner_id]) }}" id="updateCustomForm" method="POST">
|
|
@csrf <input type=hidden name='partner_id' value='{{ $data->partner_id }}' />
|
|
<div class="row">
|
|
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<label for="thumb" class="col-form-label">Thumb (2 Images)</label>
|
|
{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
|
|
</div>
|
|
<div class="col-md-12">
|
|
<?php createButton('btn-primary btn-update', '', 'Submit'); ?>
|
|
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('partners.index')); ?>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|