@extends('layouts.app') @section('css') @endsection @section('page-header') @endsection @section('content')

{{ __('Custom Template Editor') }}

@method('PUT') @csrf
{{ __('Template Name') }}
@error('name')

{{ $errors->first('name') }}

@enderror
{{ __('Template Description') }}
@error('description')

{{ $errors->first('description') }}

@enderror
{{ __('Template Category') }}
{{ __('Template Icon') }}
@error('icon')

{{ $errors->first('icon') }}

@enderror
{{ __('Templates Package') }}

{{ __('Set Model for this Template') }}


{{ __('User Input Fields') }}
@foreach ($id->fields as $key=>$value)
@if ($value['input'] == 'input' || $value['input'] == 'textarea') @else @endif
@endforeach
{{ __('Custom Prompt') }}
@error('prompt')

{{ $errors->first('prompt') }}

@enderror
{{ __('Return') }}
@endsection @section('js') @endsection