@extends('layouts.master') @section('title',__('Vote Now')) @section('breadcum') @endsection @section('maincontent')
{{ __('You belong to this constituency :') }} {{ Auth::user()->constituency['name'] }}
@forelse($candidates as $candidate) @if(isset($candidate))
image
{{ strip_tags($candidate->name) }}

{{ __('Election Type :') }} @if(!empty(strip_tags($candidate->electiontype['name']))) {{ strip_tags($candidate->electiontype['name']) }} @endif

{{ __('Designation :') }} @if(!empty(strip_tags($candidate->designation['name']))) {{ strip_tags($candidate->designation['name']) }} @endif

{{ __('Party :') }} @if(!empty(strip_tags($candidate->party['name']))) {{ strip_tags($candidate->party['name']) }} @endif

@if(!empty(strip_tags($candidate->party['photo']))) @endif

@endif @empty

{{ __("No candidates found") }}

@endforelse

@endsection @section('scripts') @endsection