@extends('layouts.app') @section('content')
@foreach($missions as $mission) @endforeach @foreach($teams as $team) @foreach($missions as $mission) @endforeach @endforeach
Team

{{ $mission->id }}

{{ $mission->hashtag }}
Score
{{ $team->name }}
@foreach($team->players as $player) {{ '@'.$player->twitter }} @endforeach
@if(!Auth::guest())
{{ $mission->score($team) }}pts
@endif
@if($mission->progress($team)[0] >= 1) @endif
{{ $team->total_score() }}
@endsection