@extends('layouts.popup.small') @section('title') {{ trans('messages.plan.sending_servers.add') }} @endsection @section('content')
{{ csrf_field() }} @if ($noSendingServer)
@include('helpers.form_control', [ 'type' => 'select_ajax', 'name' => 'sending_server_uid', 'class' => 'hook required', 'label' => trans('messages.plan.sending_servers.select'), 'selected' => [ 'value' => '', 'text' => '', ], 'help_class' => 'subscription', 'rules' => [], 'url' => action('Admin\SendingServerController@select2', ['plan_uid' => $plan->uid]), 'placeholder' => trans('messages.plan.sending_servers.choose') ])
@else
@include('elements._notification', [ 'level' => 'warning', 'message' => trans('messages.plan.sending_servers.add_empty_warning', ['link' => action('Admin\SendingServerController@index')]) ])
@endif @endsection