PATH:
home
/
lab2454c
/
bancmils.com
/
resources
/
views
/
admin
/
homepageManager
/
testimonial
<div class="form-group"> <label for="GivenBy">Testimonial Given By</label> <input type="text" name="given_by" class="form-control" id="GivenBy" placeholder="Given By" value="{{old('given_by', isset($testimonial) ? $testimonial->given_by:'')}}" required /> @error('given_by') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="form-group"> <label for="Position">Designation</label> <input type="text" name="position" class="form-control" id="Position" placeholder="Enter Designation" value="{{old('position', isset($testimonial) ? $testimonial->position:'')}}" required /> @error('position') <p class="alert alert-danger mt-3 custom-error"> <strong>{{ $message }}</strong> </p> @enderror </div> <div class="form-group"> <label for="Testimonial">Testimonial</label> <textarea class="form-control" name="testimonial" id="Testimonial" rows="12">{{old('testimonial', isset($testimonial) ? $testimonial->testimonial:'')}}</textarea> @error('testimonial') <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($testimonial) ? 'Update' : 'Create'}}</button> <a class="btn btn-dark" href="{{ route('testimonial.index') }}">Cancel</a>
[-] form.blade.php
[edit]
[-] create.blade.php
[edit]
[-] edit.blade.php
[edit]
[+]
..
[-] list.blade.php
[edit]