@extends('layouts.app') @section('title',$campaign->title) @section('content')
{{$campaign->category ?: 'Community'}}

{{$campaign->title}}

Organised by {{$campaign->owner->name}} · {{$campaign->country ?: 'Community fundraiser'}}

{!! nl2br(e($campaign->story)) !!}
@auth
@csrf
@endauth

Updates

@forelse($campaign->updates as $u)

{{$u->title}}

{!! nl2br(e($u->body)) !!}

{{$u->created_at->format('M j, Y')}}
@empty

No updates yet.

@endforelse

Supporters

@auth@if($campaign->comments_enabled)
@csrf
@endif@endauth @foreach($campaign->comments as $c)
{{$c->name ?: 'Supporter'}}

{{e($c->body)}}

@endforeach
@if(config('services.square.application_id') && in_array($campaign->currency, config('services.square.currencies', []), true))@endif
@csrf

Report fundraiser

@endsection