enquiry-form-changes

et#38
Mahesh Sharma 2 years ago
parent 401c406444
commit f461b09d08
  1. 7
      public/frontend/css/style.css
  2. 4
      resources/views/admin/enquiry/show.blade.php
  3. 7
      resources/views/enquiry-form.blade.php
  4. 2
      resources/views/enquiry_mail.blade.php

@ -263,9 +263,14 @@ Responsive Codes
} }
.top-links a{ .top-links a{
color: #326CBF; color: #326CBF;
font-weight: 500; font-weight: bold;
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 24px;
text-decoration: none;
}
.top-links a:hover{
text-decoration: underline;
color: #d933a2;
} }
.top-links h2{ .top-links h2{
text-decoration: none; text-decoration: none;

@ -145,10 +145,12 @@
<span>Desired Study Field:</span> <span>Desired Study Field:</span>
<span>{{$enquiry->desired_study_field ?? 'N/A'}} </span> <span>{{$enquiry->desired_study_field ?? 'N/A'}} </span>
</li> </li>
@if(!is_null($enquiry->desired_location))
<li class="d-flex"> <li class="d-flex">
<span>Desired Location:</span> <span>Desired Location:</span>
<span>{{$enquiry->desired_location ?? 'N/A'}} </span> <span>{{config('custom.states')[$enquiry->desired_location]}} </span>
</li> </li>
@endif
</ul> </ul>
</div> </div>

@ -248,10 +248,9 @@
<label for="name">Desired location (If Any)</label> <label for="name">Desired location (If Any)</label>
<select class="form-select" name="desired_location" id="desired-location"> <select class="form-select" name="desired_location" id="desired-location">
<option hidden>Select your desired location</option> <option hidden>Select your desired location</option>
<option value="au" class="select-placeholder">Australia</option> @foreach(config('custom.states') as $in => $val)
<option value="nz" class="select-placeholder">New Zeland</option> <option value="{{$in}}" @if(old('desired_location') == $in) selected @endif>{{$val}}</option>
<option value="ca" class="select-placeholder">Canada</option> @endforeach
<option value="us" class="select-placeholder">USA</option>
</select> </select>
</div> </div>
</div> </div>

@ -69,7 +69,7 @@
<b>Desired Field of Study:</b> {{ $enquiry->desired_study_field }}<br /><br /> <b>Desired Field of Study:</b> {{ $enquiry->desired_study_field }}<br /><br />
@endif @endif
@if(!is_null($enquiry->desired_location)) @if(!is_null($enquiry->desired_location))
<b>Desired Location:</b> {{ $enquiry->desired_location }}<br /><br /> <b>Desired Location:</b> {{ config('custom.states')[$enquiry->desired_location] }}<br /><br />
@endif @endif
</div> </div>
</div> </div>

Loading…
Cancel
Save