PATH:
home
/
lab2454c
/
bancmils.com
/
resources
/
views
/
admin
/
about
<style> .ck-editor__editable_inline { min-height: 400px; } </style> <div class="form-group"> <label for="TopRightImage">Top Right Image</label> <div class="row"> <div class="col-md-6"> <input type="file" name="top_right_image" accept="image/*" id="TopRightImage" onchange="showTopRightImage(this)" class="form-control" /> @error('top_right_image') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="col-md-6"> <img src="{{ isset($about->top_right_image) ? config("app.url").Storage::url($about->top_right_image) : asset('adminAssets/images/default-page-banner.png') }}" id="TopRightImg" class="frame frame-1 mt-0" title="Banner Image" alt="top_right_image"> </div> </div> </div> <div class="form-group"> <label for="BottomLeftImage">Bottom Left Image</label> <div class="row"> <div class="col-md-6"> <input type="file" name="bottom_left_image" accept="image/*" id="BottomLeftImage" onchange="showBottomLeftImage(this)" class="form-control" /> @error('bottom_left_image') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="col-md-6"> <img src="{{ isset($about->bottom_left_image) ? config("app.url").Storage::url($about->bottom_left_image) : asset('adminAssets/images/default-page-banner.png') }}" id="BottomLeftImg" class="frame frame-1 mt-0" title="Banner Image" alt="bottom_left_image"> </div> </div> </div> <div class="form-group"> <label for="BottomRightImage">Bottom Right Image</label> <div class="row"> <div class="col-md-6"> <input type="file" name="bottom_right_image" accept="image/*" id="BottomRightImage" onchange="showBottomRightImage(this)" class="form-control" /> @error('bottom_right_image') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="col-md-6"> <img src="{{ isset($about->bottom_right_image) ? config("app.url").Storage::url($about->bottom_right_image) : asset('adminAssets/images/default-page-banner.png') }}" id="BottomRightImg" class="frame frame-1 mt-0" title="Banner Image" alt="bottom_right_image"> </div> </div> </div> <div class="form-group"> <label for="TopContent">Top Text</label> <textarea class="form-control" name="top_text" id="TopContent" rows="4">{{old('top_text', isset($about) ? $about->top_text:'')}}</textarea> @error('top_text') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="form-group"> <label for="MiddleContent">Middle Text</label> <textarea class="form-control" name="middle_text" id="MiddleContent" rows="4">{{old('middle_text', isset($about) ? $about->middle_text:'')}}</textarea> @error('middle_text') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="form-group"> <label for="BottomLeftContent">Bottom Left Text</label> <textarea class="form-control" name="bottom_left_text" id="BottomLeftContent" rows="4">{{old('bottom_left_text', isset($about) ? $about->bottom_left_text:'')}}</textarea> @error('bottom_left_text') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="form-group"> <label for="BottomRightContent">Bottom Right Text</label> <textarea class="form-control" name="bottom_right_text" id="BottomRightContent" rows="4">{{old('bottom_right_text', isset($about) ? $about->bottom_right_text:'')}}</textarea> @error('bottom_right_text') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <button type="submit" class="btn btn-primary mr-2">{{isset($about) ? 'Update' : 'Create'}}</button> <a class="btn btn-dark" href="{{ route('about.index') }}">Cancel</a> <script src="{{ asset('adminAssets/plugins/ckeditor5/ckeditor.js') }}"></script> @include('admin.about.scripts')
[-] form.blade.php
[edit]
[-] scripts.blade.php
[edit]
[-] edit.blade.php
[edit]
[+]
..
[-] list.blade.php
[edit]