@extends('user.layouts.app') @section('title','Election') @section('page-title','Election Voting') @section('page-subtitle','Cast your vote for eligible elections') @section('content') @if(session('success'))
{{ $election->conference?->name }} · {{ $election->election_year }}
{{ $election->start_time?->format('M d, Y H:i') }} — {{ $election->end_time?->format('M d, Y H:i') }}Too many failed attempts. Try again after {{ $voter->otp_locked_until->format('M d, Y H:i') }}.
@elseRequest a one-time code via: @forelse($enabledChannels as $channel) {{ strtoupper($channel) }} @empty No channels configured — contact admin. @endforelse
@if($enabledChannels->isNotEmpty()) @if($cooldownRemaining > 0) Wait {{ $cooldownRemaining }}s before resending. @elseif($voter->otp_last_sent_at) Last sent {{ $voter->otp_last_sent_at->diffForHumans() }}. Expires in {{ $otpSettings->expiry_minutes }} min. @endif @endif @endifYou are not eligible to vote in this election.
@elseif($voter->voting_status === 'voted')You have already voted. Thank you for participating.
@elseVoting is not currently open.
@endifNo active elections at this time.