@extends('admin.layouts.app') @section('title', 'Categories') @section('content')

{{__('Categories')}}

@if (Session::has('message'))
{{ Session::get('message') }}
@endif

{{__('Add Category')}}

{{ Form::text('title', Request::old('title'), array('id'=>'title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'title')." ",'placeholder' => 'Enter name')) }} {!! APFrmErrHelp::showErrors($errors, 'title') !!}
{{ Form::text('arabic_title', Request::old('arabic_title'), array('id'=>'arabic_title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_title')." ",'placeholder' => 'Enter arabic name')) }} {!! APFrmErrHelp::showErrors($errors, 'arabic_title') !!}
{{ Form::textarea('description', Request::old('description'), array('id'=>'description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'description')." ",'placeholder' => 'Enter description')) }} {!! APFrmErrHelp::showErrors($errors, 'description') !!}
{{ Form::textarea('arabic_description', Request::old('arabic_description'), array('id'=>'arabic_description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_description')." ",'placeholder' => 'Enter arabic description')) }} {!! APFrmErrHelp::showErrors($errors, 'arabic_description') !!}
{!! Form::file('image', ['id'=>'image','class' => 'form-control file-chose', 'accept' => 'image/*']) !!}
Active Inactive
{{ Form::close() }}
@endsection