@extends('admin/layouts/dashboard') @section('breadcrumbs', Breadcrumbs::render(Route::current()->getName(), $param)) @section('content')
Редактировать переменную
@csrf {{ Form::hidden('_method', 'PUT') }} @include('admin.helper.form.input', [ 'name' => 'name', 'value' => $param->name, 'label' => 'Название' ]) @include('admin.helper.form.input', [ 'name' => 'slug', 'value' => $param->slug, 'label' => 'Идентификатор' ])
@if($param->type === 'text')
@endif @if($param->type === 'html')
{{ $param->value }}
@endif @if($param->type === 'list')
@endif @if($param->type === 'file') @endif @include('admin.helper.form.submit', [ 'label' => 'Сохранить' ])
@endsection @section('script') @include('admin.helper.unique', [ 'entity' => "\\\JustWeCMS\\\Modules\\\Param\\\Entities\\\Param", 'pk' => $param->id ]) @if($param->type === 'html') @endif @endsection