@extends('layouts.app', [ 'title' => trans('crud.move.title', ['name' => $entity->name]), 'description' => trans('crud.move.description'), 'breadcrumbs' => [ ['url' => route($entity->pluralType() . '.index'), 'label' => trans($entity->pluralType() . '.index.title')], ['url' => route($entity->pluralType() . '.show', [$entity->entity_id]), 'label' => $entity->name], trans('crud.actions.move'), ] ]) @section('content')
@include('partials.errors') {!! Form::open(['route' => ['entities.move', $entity->id], 'method' => 'POST']) !!} {{ csrf_field() }}

{{ trans('crud.panels.move') }}

@can('move', $entity->child)
{!! Form::select('target', $entities, null, ['class' => 'form-control']) !!}

{{ trans('crud.move.hints.target') }}

@endcan @if (Auth::user()->hasOtherCampaigns($entity->campaign_id))
{!! Form::select('campaign', Auth::user()->moveCampaignList(), null, ['class' => 'form-control']) !!}

{{ trans('crud.move.hints.campaign') }}

@endif
{!! trans('crud.or_cancel', ['url' => (!empty($cancel) ? $cancel : url()->previous())]) !!}
{!! Form::close() !!}
@endsection