@extends('layouts.admin') @section('content') @include('partials.admin.form.init') @include('partials.admin.form.dropdown', ['attribute' => 'parent_id', 'null' => true]) @foreach (['title', 'description','url'] as $a) @include('partials.admin.form.text', ['attribute' => $a]) @endforeach @foreach (['title_fa', 'description_fa'] as $a) @include('partials.admin.form.text', ['attribute' => $a]) @endforeach @foreach (['content', 'content_fa'] as $a) @include('partials.admin.form.textarea', ['attribute' => $a]) @endforeach @foreach (['canonical'] as $a) @include('partials.admin.form.text', ['attribute' => $a]) @endforeach @foreach (['seo_title', 'seo_description', 'seo_title_fa', 'h1', 'h1_fa', 'seo_description_fa','keyword','keyword_fa','faq','faq_fa'] as $a) @include('partials.admin.form.textarea', [ 'attribute' => $a, 'just_textarea'=>true ]) @endforeach @include('partials.admin.form.dropdown', [ 'attribute' => 'template', 'options'=> [ \App\Models\Page::TEMPLATE_DEFAULT => 'Default', \App\Models\Page::TEMPLATE_HOMEPAGE => 'Homepage', \App\Models\Page::TEMPLATE_LANDINGPAGE => 'Landing page', ] ]) @include('partials.admin.form.file', ['attribute' => 'image']) @include('partials.admin.form.submit') @endsection