Skip to content

Commit

Permalink
Minor UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanka-Kaintura authored Jul 8, 2023
1 parent 84f958e commit 5ce9f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/CodeTrek/Resources/views/evaluate.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class="collapse {{ $applicantDetail->id ? ($loop->last ? 'show' : '') : '' }}"
</form>
</div>
@if ($loop->last)
<div class="card-footer row {{($applicant->status == 'completed') ? 'd-none': '' }}">
<div class="card-footer row {{($applicant->status == 'completed') ? 'd-none': '' }} d-flex justify-content-end">
<form class = "{{($applicant->status == 'inactive') ? 'd-none': '' }}" action="{{ route('codetrek.action', $applicant->id) }}" method="POST">
@csrf
<div class="d-flex align-items-center">
Expand All @@ -80,7 +80,7 @@ class="collapse {{ $applicantDetail->id ? ($loop->last ? 'show' : '') : '' }}"
@csrf
<button type="submit" name="action" value="completed" class="btn btn-dark ml-2 {{(($applicant->status == 'inactive') || ($applicant->latest_round_name != 'onboarded')) ? 'd-none': '' }}">Start
Internship </button>
<button type="submit" name="action" value="{{ $applicant->status == 'active'? 'inactive' : 'active' }}" class="btn btn-{{ $applicant->status == 'active' ? 'danger' : 'info' }} ml-1">
<button type="submit" name="action" value="{{ $applicant->status == 'active'? 'inactive' : 'active' }}" class="btn btn-{{ $applicant->status == 'active' ? 'danger' : 'info' }} mr-2 ml-1">
Mark {{ ucfirst($applicant->status == "active" ? "inactive" : "active") }} </button>
</form>
</div>
Expand Down

0 comments on commit 5ce9f21

Please sign in to comment.