visa-service-changes

et#18
Mahesh Sharma 2 years ago
parent 4c3d8de59a
commit 26f3e38eec
  1. 2
      app/Http/Controllers/Admin/VisaServiceController.php
  2. 2
      resources/views/admin/visa_service/edit.blade.php
  3. 4
      resources/views/visa.blade.php

@ -169,7 +169,7 @@ class VisaServiceController extends Controller
'short_description' => 'required',
'seo_title' => 'required',
'keywords'=>'required',
'image'=>'required|mimes:jpeg,png,jpg,svg',
'image'=>'mimes:jpeg,png,jpg,svg',
]);
$service = new VisaService();

@ -82,7 +82,7 @@
<div class="col-md-4">
<div class="form-group">
<label for="image">Banner Image <span style="color: red">*</span></label>
<input type="file" class="form-control" id="image" name="image" required>
<input type="file" class="form-control" id="image" name="image">
@if($service->image != null)
<span>
<a href="{{url($service->image)}}" target="_blank">

@ -17,8 +17,8 @@
</ol>
</nav> -->
<div class="studyabroad-banner-header">
<h1>{{$page->title}}</h1>
<h5>{{$page->sub_title}}</h5>
<h1>{{$service->name}}</h1>
<h5>{{strip_tags($service->short_description)}}</h5>
</div>
</section>
<section class="student-visa-section">

Loading…
Cancel
Save