@extends('layouts.popup.small') @section('title') {{ $template->name }} @endsection @section('content')

{{ trans('messages.template.set_template_category') }}

{{ trans('messages.template.set_template_category.intro') }}

{{ csrf_field() }} @foreach(Acelle\Model\TemplateCategory::all() as $category) @include('helpers.form_control', [ 'type' => 'checkbox2', 'name' => 'categories['.$category->uid.']', 'value' => ($template->hasCategory($category) ? 'true' : 'false'), 'label' => $category->name, 'options' => ['false', 'true'], 'help_class' => 'template', 'rules' => [], ]) @endforeach
@endsection