@extends('layouts.core.backend', [ 'menu' => 'template', ]) @section('title', trans('messages.create_template')) @section('head') @endsection @section('page_header')

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

@endsection @section('content')
{{ csrf_field() }}
@include('helpers.form_control', [ 'type' => 'text', 'class' => '', 'name' => 'name', 'value' => $template->name, 'label' => trans('messages.enter_template_name'), 'help_class' => 'template', 'rules' => ['name' => 'required'] ])

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

@foreach (Acelle\Model\TemplateCategory::all() as $category) @if ($category->templates()->count())

{{ $category->name }}




@endif @endforeach
@endsection