@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($mission->progress($team)[0] >= 1) @if(!Auth::guest()) {{ $mission->score($team) }} @endif @endif
{{ $team->total_score() }}
@endsection