source: resources/views/onboarding/organizer/index.blade.php

Last change on this file was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago
  • Initial commit;
  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[dfae77e]1@extends('layouts.app')
2
3@section('content')
4 <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/css/select2.min.css" rel="stylesheet"/>
5 <div class="container">
6 <div class="row justify-content-center">
7 <div class="col-md-8 mt-3">
8 <h3 class="mb-5">Onboarding | Organizer - {{ \Illuminate\Support\Facades\Auth::user()->name }}</h3>
9 <form method="POST" action="/onboarding">
10 @csrf
11 <div class="mb-3">
12 <div class="row">
13 <label for="birthDate" class="form-label">Location</label>
14 <div class="col-md-6">
15 @if(is_null($organizer->country) || trim($organizer->country) === '')
16 <select class="form-select mb-2" name="country" aria-label="Default select example"
17 required>
18 <option selected>Select Country</option>
19 <option value="North Macedonia">North Macedonia</option>
20 <option value="Serbia">Serbia</option>
21 <option value="France">France</option>
22 </select>
23 @else
24 <h6>City</h6>
25 <p>{{ $organizer->country }}</p>
26 @endif
27 </div>
28 <div class="col-md-6">
29 @if(is_null($organizer->city) || trim($organizer->city) === '')
30 <select class="form-select" name="city" aria-label="Default select example"
31 required>
32 <option selected>Select City</option>
33 <option value="Skopje">Skopje</option>
34 <option value="Belgrade">Belgrade</option>
35 <option value="Paris">Paris</option>
36 </select>
37 @else
38 <h6>Country</h6>
39 <p>{{ $organizer->city }}</p>
40 @endif
41 </div>
42 </div>
43 </div>
44 <button type="submit" class="btn btn-success">Submit</button>
45 </form>
46 </div>
47 </div>
48 </div>
49@endsection
Note: See TracBrowser for help on using the repository browser.