form-old-value

aplus#32
Mahesh Sharma 2 years ago
parent a809b34a7b
commit b486862ed7
  1. 1
      app/Http/Controllers/HomeController.php
  2. 4
      resources/views/about.blade.php
  3. 20
      resources/views/am_chef.blade.php
  4. 8
      resources/views/contact.blade.php
  5. 10
      resources/views/need_chef.blade.php

@ -127,6 +127,7 @@ class HomeController extends Controller
$message->subject($subject);
// $message->to('info@agilityhomecare.com.au', 'AgilityHomeCare')->subject($subject);
$message->to('mahesh@extratechs.com.au', 'Extratech')->subject($subject);
$message->to('suman@extratechs.com.au', 'Extratech')->subject($subject);
});

@ -23,9 +23,9 @@
<div class="who-we-desc">
<h5>About us <hr></h5>
<h3>Who are we?</h3>
<p>{{$about->first()->description}}
<p>{!!strip_tags$about($about->first()->description)!!}
<br><br>
{{$about->first()->sub_description}}
{!!strip_tags($about->first()->sub_description)!!}
</p>
</div>
</div>

@ -56,16 +56,16 @@
<h2>Please fill-up the form</h2>
<div class="mb-3">
<label for="">Full name</label>
<input type="text" class="form-control" placeholder="Your full name" name="full_name" id="">
<label for="full_name">Full name</label>
<input type="text" class="form-control" placeholder="Your full name" name="full_name" id="full_name" value = "{{old('full_name')}}">
</div>
<div class="mb-3">
<label for="">Email address</label>
<input type="email" class="form-control" placeholder="Your email address" name="email" id="">
<label for="email">Email address</label>
<input type="email" class="form-control" placeholder="Your email address" name="email" id="email" value = "{{old('email')}}">
</div>
<div class="mb-3">
<label for="">Phone</label>
<input type="text" class="form-control" placeholder="Your phone number" name="phone" id="">
<label for="phone">Phone</label>
<input type="text" class="form-control" placeholder="Your phone number" name="phone" id="phone" value = "{{old('phone')}}">
</div>
<div class="mb-3">
<label for="">Passport Country</label>
@ -329,16 +329,16 @@
<label for="">Do you have a visa permitting work in Australia?</label>
<select class="form-select" name="has_visa_permit" id="">
<option value="" hidden>Select Position</option>
<option value="1" class="aplus-display-select">Yes</option>
<option value="0" class="aplus-display-select">No</option>
<option value="1" @if(old('has_visa_permit') == true) selected @endif class="aplus-display-select">Yes</option>
<option value="0" @if(old('has_visa_permit') == false) selected @endif class="aplus-display-select">No</option>
</select>
</div>
<div class="mb-3">
<label for="">Have you completed a TRA skill assessment?</label>
<select class="form-select" name="has_skill_assessed" id="">
<option value="" hidden>Select Position</option>
<option value="1" class="aplus-display-select">Yes</option>
<option value="0" class="aplus-display-select">No</option>
<option value="1" @if(old('has_skill_assessed') == true) selected @endif class="aplus-display-select">Yes</option>
<option value="0" @if(old('has_skill_assessed') == false) selected @endif class="aplus-display-select">No</option>
</select>
</div>
<div class="mb-3">

@ -74,19 +74,19 @@
<div class="col-md-6">
<div class="mb-3">
<label for="">Full name</label>
<input type="text" class="form-control" placeholder="Enter your name" name="fullname" id="">
<input type="text" class="form-control" placeholder="Enter your name" name="fullname" id="" value = "{{old('fullname')}}">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<label for="">Email address</label>
<input type="email" class="form-control" placeholder="Enter your email adress" name="email" id="">
<input type="email" class="form-control" placeholder="Enter your email adress" name="email" id="" value = "{{old('email')}}">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<label for="">Phone</label>
<input type="text" class="form-control" placeholder="Enter your phone number" name="phone" id="">
<input type="text" class="form-control" placeholder="Enter your phone number" name="phone" id="" value = "{{old('phone')}}">
</div>
</div>
<input type = "hidden" name = "check" value = "1"/>
@ -128,7 +128,7 @@
<div class="col-md-12">
<div class="mb-5">
<label for="">Message</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" placeholder="Write a message.." name="message"></textarea>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" placeholder="Write a message.." name="message">{{old('message')}}</textarea>
</div>
</div>
<div class="submit-btn">

@ -49,23 +49,23 @@
<h2>Please fill-up the form</h2>
<div class="mb-3">
<label for="">Full name</label>
<input type="text" class="form-control" placeholder="Your full name" name="full_name" id="">
<input type="text" class="form-control" placeholder="Your full name" name="full_name" id="" value = "{{old('full_name')}}">
</div>
<div class="mb-3">
<label for="">Company</label>
<input type="text" class="form-control" placeholder="Your company name" name="company" id="">
<input type="text" class="form-control" placeholder="Your company name" name="company" id="" value = "{{old('company')}}">
</div>
<div class="mb-3">
<label for="">Email address</label>
<input type="email" class="form-control" placeholder="Your email address" name="email" id="">
<input type="email" class="form-control" placeholder="Your email address" name="email" id="" value = "{{old('email')}}">
</div>
<div class="mb-3">
<label for="">No. of position</label>
<input type="text" class="form-control" placeholder="Required number of position" name="no_of_position" id="">
<input type="text" class="form-control" placeholder="Required number of position" name="no_of_position" id="" value = "{{old('no_of_position')}}">
</div>
<div class="mb-3">
<label for="">Enquiry</label>
<textarea type="text" rows="3" class="form-control" placeholder="Your enquiries.." name="enquiry" id=""></textarea>
<textarea type="text" rows="3" class="form-control" placeholder="Your enquiries.." name="enquiry" id="">{{old('no_of_position')}}</textarea>
</div>
@php
$code = Str::random(5);

Loading…
Cancel
Save