@if (isset($url[3]) && isset($url[4]) && isset($url[5]) && $url[3] == 'video' && $url[4] == 'play' && $current != '' && $slug != '' && $slug == $current && $user->perm['blg_editpost'])
  <div class="row" style="margin-bottom: 15px;">
    @if ($current != '' && $slug != '' && $slug == $current && $user->perm['blg_editpost'])
      <div class="col"><a href="/video/{{ $current }}/edit" class="btn btn-block btn-warning">動画の編集</a></div>
    @endif
    @if ($current != '' && $slug != '' && $slug == $current && $user->perm['blg_delpost'])
      <div class="col">
        <form action="/video/del" method="post">
          @csrf
          <input type="hidden" name="slug" value="{{ $current }}" />
          <input type="submit" class="btn btn-block btn-danger" value="動画の削除" />
        </form>
      </div>
    @endif
  </div>
@endif
