@extends('layouts.app') @section('title', 'Township') @section('content')
Township Information
Name {{ $township->name ?? 'N/A' }}
Slug {{ $township->slug ?? 'N/A' }}
Description {{ $township->description ?? 'N/A' }}
Township Officers
@foreach($townshipOffices as $townshipOffice) @endforeach
{{ $townshipOffice->office->name }} {{ $townshipOffice->getOfficerName() }}  @if(Auth::user()->isCountyAdmin($county->id)) Edit @endif
{{--
Voting Locations
@if(Auth::user()->hasStateRole(['State Admin'], $state->id) || Auth::user()->hasCountyRole(['County Admin'], $county->id)) Create Voting Location @endif @if($county->votingLocations->count() > 0) @foreach($county->votingLocations as $votingLocation) @endforeach
Name Address
{{ $votingLocation->name ?? '' }} {{ $votingLocation->address_1 }} @if($votingLocation->address_2)
{{ $votingLocation->address_2 }} @endif
{{ $votingLocation->city }}, {{ $votingLocation->state }}, {{ $votingLocation->zip}}
View Edit
@else
There are currently no voting locations for this township.
@endif
--}}
@endsection