PATH:
home
/
lab2454c
/
westernclear.net
/
resources
/
views
/
admin
/
homepageManager
/
otherInvestmentSection
@isset($otherInvestmentSection) <form class="forms-sample" action="{{route('otherInvestmentSection.update', $otherInvestmentSection)}}" method="POST" autocomplete="off" enctype="multipart/form-data"> @csrf @method('PATCH') <div class="form-group"> <label for="LeftImage">Left Image<span class="text-danger"> *</span></label> <div class="row"> <div class="col-md-6"> <input type="file" name="left_image" accept="image/*" id="LeftImage" onchange="showBannerImage(this)" class="form-control @error('left_image') is-invalid @enderror" /> </div> <div class="col-md-6"> <img src="{{ isset($otherInvestmentSection->left_image) ? config("app.url").Storage::url($otherInvestmentSection->left_image) : asset('adminAssets/images/default-page-banner.png') }}" id="BannerImg" class="frame frame-1 mt-0" title="Banner Image" alt="banner_image"> </div> </div> </div> <div class="form-group"> <label for="OtherInvestContent">Content<span class="text-danger"> *</span></label> <textarea class="form-control nicEdit @error('content') is-invalid @enderror" name="content" placeholder="Enter Short Desc" id="OtherInvestContent" required rows="5">{{old('content', isset($otherInvestmentSection->content) ? $otherInvestmentSection->content:'')}}</textarea> </div> <button type="submit" class="btn btn-primary mr-2">{{isset($otherInvestmentSection) ? 'Update' : 'Create'}}</button> @include('admin.common.scripts') </form> @endisset
[-] form.blade.php
[edit]
[+]
..
[-] list.blade.php
[edit]