extend('admin/_layout') ?> section('title') ?> endSection() ?> section('pageTitle') ?> endSection() ?> section('headerRight') ?> id), [ 'variant' => 'accent', 'iconLeft' => 'add', ]) ?> endSection() ?> section('content') ?> lang('Contributor.list.username'), 'cell' => function ($contributor) { return $contributor->username; }, ], [ 'header' => lang('Contributor.list.role'), 'cell' => function ($contributor) { return lang('Contributor.roles.' . $contributor->podcast_role); }, ], [ 'header' => lang('Common.actions'), 'cell' => function ($contributor, $podcast) { return button( lang('Contributor.edit'), route_to( 'contributor-edit', $podcast->id, $contributor->id, ), [ 'variant' => 'info', 'size' => 'small', ], ['class' => 'mr-2'], ) . button( lang('Contributor.remove'), route_to( 'contributor-remove', $podcast->id, $contributor->id, ), [ 'variant' => 'danger', 'size' => 'small', ], ['class' => 'mr-2'], ); }, ], ], $podcast->contributors, $podcast, ) ?> endSection() ?>