Fixed tour show form
This commit is contained in:
parent
e005e071f1
commit
0bc14bb7c6
1 changed files with 4 additions and 6 deletions
|
|
@ -74,8 +74,9 @@
|
||||||
<a href="/tour" type="submit" class="btn btn-success col-3 mb-2 float-right mr-2">Ok</a>
|
<a href="/tour" type="submit" class="btn btn-success col-3 mb-2 float-right mr-2">Ok</a>
|
||||||
|
|
||||||
@if(!App\Tour::has_participant($tour->id, Auth::user()->id))
|
@if(!App\Tour::has_participant($tour->id, Auth::user()->id))
|
||||||
<a href="/tour/{{$tour->id}}/join" type="submit" class="btn btn-danger col-3 mb-2 float-right mr-2">Teilnehmen1</a>
|
|
||||||
<button id="myBtn" class="btn btn-danger col-3 mb-2 float-left mr-2">Teilnehmen2</button>
|
<!-- Connected to Modal -->
|
||||||
|
<button id="myBtn" class="btn btn-danger float-left">Teilnehmen</button>
|
||||||
@else
|
@else
|
||||||
<a href="/tour/{{$tour->id}}/cancelBooking" type="submit" class="btn btn-danger col-3 mb-2 float-right mr-2">Absagen</a>
|
<a href="/tour/{{$tour->id}}/cancelBooking" type="submit" class="btn btn-danger col-3 mb-2 float-right mr-2">Absagen</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
@ -83,11 +84,8 @@
|
||||||
</form>
|
</form>
|
||||||
<!-- Modal Anzeige start -->
|
<!-- Modal Anzeige start -->
|
||||||
|
|
||||||
<!-- Trigger/Open The Modal -->
|
|
||||||
<button id="myBtn2" class="btn btn-danger col-3 mb-2 float-left mr-2">Bearbeiten</button>
|
|
||||||
<button id="myBtn" class="btn btn-danger col-3 mb-2 float-left mr-2">Teilnehmen</button>
|
|
||||||
<button id="myBtn" class="btn btn-success col-3 mb-2 float-right mr-2">Ok</button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue