@extends('backend.template') @section('content')

{{ label('Edit Forms') }}

@csrf
{{createText("title","title","Title",'',$data->title)}}
{{createImageInput("cover_photo","Cover Photo",'',$data->cover_photo)}}
{{createImageInput("image_thumb","Image Thumb",'',$data->image_thumb)}}
form_fields)) ?>
@foreach(json_decode($data->form_fields) as $field)
@endforeach
{{createTextarea("text","text ckeditor-classic","Text",$data->text)}}
{{createText("headers","headers","Headers",'',$data->headers)}}
{{createText("toemail","toemail","Toemail",'',$data->toemail)}}
{{createText("fromemail","fromemail","Fromemail",'',$data->fromemail)}}
{{createText("emailsubject","emailsubject","Emailsubject",'',$data->emailsubject)}}
{{createText("emailtext","emailtext","Emailtext",'',$data->emailtext)}}
{{createText("autoresponse","autoresponse","Autoresponse",'',$data->autoresponse)}}
{{createText("responseheaders","responseheaders","Responseheaders",'',$data->responseheaders)}}
{{createText("responsefrom","responsefrom","Responsefrom",'',$data->responsefrom)}}
{{createText("responsesubject","responsesubject","Responsesubject",'',$data->responsesubject)}}
{{createText("responsetext","responsetext","Responsetext",'',$data->responsetext)}}
@endsection @push("js") @endpush