@extends('super_admins.layouts.master') @section('title') Add Posts @endsection @section('css') @endsection @section('content') @if ($errors->any()) @endif Post Home Blogs Add Post @csrf Multi Language @foreach ($active_languages as $key => $language) {{ $language->name }} @endforeach @foreach ($active_languages as $key => $language) Name ({{$language->code}}) @if ($errors->has('name.'.$language->code)) {{ $errors->first('name.'.$language->code) }} @endif Description ({{$language->code}}) @if ($errors->has('description.'.$language->code)) {{ $errors->first('description.'.$language->code) }} @endif @endforeach @if (isset($blog_categories)) Select Post Category : @if (count($blog_categories) > 0) Select Post Category @foreach ($blog_categories as $blog_category) id ? 'selected' : '' }}> {{ $blog_category->name }} @endforeach @else No Post Category Exists @endif @if ($errors->has('blog_category_id')) {{ $errors->first('blog_category_id') }} @endif @endif @if (isset($tags)) Select Post Tags : @if (count($tags) > 0) Select Post Tags @foreach ($tags as $tag) id ? 'selected' : '' }}> {{ $tag->name }} @endforeach @else No Post Tag Exists @endif @if ($errors->has('tag_ids')) {{ $errors->first('tag_ids') }} @endif @endif Choose Picture @if ($errors->has('image')) {{ $errors->first('image') }} @endif Status Select Post To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Submit @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection