@extends('layouts.core.backend', [ 'menu' => 'plan', ]) @section('title', $plan->name) @section('head') @endsection @section('page_header')

{{ $plan->name }}

@endsection @section('content') @include('admin.plans._menu', [ 'menu' => 'tos', ])
{{ csrf_field() }}

{{ trans('messages.plan.tos') }}

{{ trans('messages.plan.tos.intro') }}

@include('helpers.form_control', [ 'class' => '', 'type' => 'checkbox2', 'name' => 'terms_of_service[enabled]', 'label' => trans('messages.plan.disable_terms_of_service'), 'value' => Acelle\Model\Setting::get('terms_of_service.enabled', 'yes'), 'options' => ['no','yes'], 'help_class' => 'plan', 'rules' => $plan->validationRules()['options'], ])
@include('helpers.form_control', [ 'class' => 'builder-editor', 'type' => 'textarea', 'name' => 'terms_of_service[content]', 'label' => trans('messages.plan.tos'), 'value' => Acelle\Model\Setting::get('terms_of_service.content'), 'help_class' => 'plan', ]) {{ trans('messages.cancel') }}
@endsection