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

16 lines
1.1 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
@extends('backend.template')
@section('content')
<div class='card'>
<div class='card-header d-flex justify-content-between align-items-center'>
<h2 class="">{{ label('Edit Formsubmissions') }}</h2>
<?php createButton("btn-primary btn-cancel","","Cancel",route('formsubmissions.index')); ?>
</div>
<div class='card-body'>
<form action="{{route('formsubmissions.update',[$data->formsubmission_id])}}" id="updateCustomForm" method="POST" >
@csrf <input type=hidden name='formsubmission_id' value='{{$data->formsubmission_id}}'/>
<div class="row"><div class="col-lg-6">{{createCustomSelect('tbl_forms', 'title', 'form_id', $data->forms_id, 'Forms Id','forms_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createText("submitted_values","submitted_values","Submitted Values",'',$data->submitted_values)}}
</div> <div class="col-md-12"><?php createButton("btn-primary btn-update","","Submit"); ?>
<?php createButton("btn-primary btn-cancel","","Cancel",route('formsubmissions.index')); ?>
</div> </form></div></div>
@endsection