TanchoToplineCargo/resources/views/crud/generated/teams/edit.blade.php

49 lines
2.4 KiB
PHP
Raw Permalink Normal View History

2024-05-05 04:47:49 +00:00
@extends('backend.template')
@section('content')
<div class="row">
<div class="col-12">
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
<h4 class="mb-sm-0">{{ label('Edit Team Member') }}</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">Home</a></li>
<li class="breadcrumb-item active">{{ label('Edit Team Member') }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class='card'>
<div class='card-body'>
<form action="{{route('teams.update',[$data->team_id])}}" id="updateCustomForm" method="POST">
@csrf <input type=hidden name='team_id' value='{{$data->team_id}}' />
<div class="row">
<div class="col-lg-6">{{createText("title","title","Title",'',$data->title)}}
</div>
<div class="col-lg-12 pb-2">{{createImageInput("photo","Photo",'',$data->photo)}}
</div>
<div class="col-lg-12 pb-2">{{createImageInput("thumb","Thumb",'',$data->thumb)}}
</div>
<div class="col-lg-6">{{createText("designation","designation","Designation",'',$data->designation)}}
</div>
<div class="col-lg-6">{{createText("role","role","Role",'',$data->role)}}
</div>
<div class="col-lg-12 pb-2">{{createTextarea("description","description ckeditor-classic","Description",$data->description)}}
</div>
<div class="col-md-12"><?php createButton("btn-primary btn-update", "", "Submit"); ?>
<?php createButton("btn-primary btn-cancel", "", "Cancel", route('teams.index')); ?>
</div>
</form>
</div>
</div>
@endsection