@extends('app') @section('content') @if(Session::has('flash_message'))
{!! Session::get('flash_message') !!}
@endif @if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif

اخبار الوفيات - {{$request_type=='Add' ? 'أضافة' : 'تحرير'}}


@if($deathnews->is_announcement==0) @endif {!! Form::model($deathnews,['route'=>['deathnews.selectnode','deathnews'=>$deathnews->id,'q'=>$request_type],'method'=>'PUT', 'id'=>'selectnode_form']) !!} @if($request_type=='Edit' && $deathnews->is_announcement==0) @endif

اختيار الشخص المتوفي

{{--Node From Family--}}
{{--Node outside Family--}}
{!! Form::select('gender',[0=>'ذكر',1=>'أنثى'],null,['class'=>'selectbox text-right','id'=>'gender','style'=>'width: 100%;']) !!}
{!! Form::text('name', null, ['class'=>'form-control f-s-17','id'=>'name','placeholder'=>'الإسم الأول']) !!}
{!! Form::text('father_name', null, ['class'=>'form-control f-s-17','id'=>'father_name','placeholder'=>'إسم الأب']) !!}
{!! Form::text('grand_father_name', null, ['class'=>'form-control f-s-17','id'=>'grand_father_name','placeholder'=>'إسم العائلة']) !!}
@if($request_type=='Add') إلغاء @else إلغاء @endif
@if($deathnews->is_announcement==1) حفظ في المسودة @endif {!! Form::submit($deathnews->is_announcement==0 ? 'التالي' : 'Publish Now', ['class' => 'btn btn-info btn-cons','id' => 'btn-submit']) !!}
{!! Form::close() !!}
{!! Form::open(["method" => "DELETE","route" => ["admin.deathnews.destroy", 'deathnews'=>$deathnews->id],"class" => "inline",'id'=>'cancel_form']) !!} {!! Form::close() !!} @endsection