@extends('app') @section('content')

{{ $twasul ? 'تصحيح' : 'إضافة' }} {{ $twasul->twasul_type->title }} تواصل


@if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif {!! Form::model($twasul, [ 'method' => $twasul ? 'PATCH' : 'POST', 'route' => $twasul ? ['admin.twasul.update', $twasul->id] : 'admin.twasul.store', 'id' => 'form_twasul', 'enctype' => 'multipart/form-data', ]) !!}
{!! Form::select( 'twasul_type_id', ['' => 'Select Type'] + $types->toArray(), $twasul ? $twasul->twasul_type_id : null, [ 'class' => 'form-control selectbox', 'required' => true, 'style' => 'width: 100%;', 'id' => 'twasul_type_id', 'disabled' => 'disabled', ], ) !!}
{!! Form::text('title', null, ['class' => 'form-control', 'required' => true, 'id' => 'title_text']) !!} 100 @lang('common.char_count')
{!! Form::textarea('description', null, [ 'class' => 'form-control', 'id' => 'description_text', 'rows' => 3, 'required' => true, ]) !!} 1000 @lang('common.char_count')
status == 1 ? 'checked' : '') : 'checked' }} value="1" name="status" id="yes"> status == 0 ? 'checked' : '') : '' }} name="status" id="no">
Id صورة
Cancel {!! Form::submit($twasul ? 'تحديث' : 'حفظ', ['class' => 'btn btn-primary btn-cons', 'id' => 'btn-submit']) !!}
{!! Form::close() !!}
{!! Form::open([ 'method' => 'POST', 'class' => 'inline', 'id' => 'bulkaction', ]) !!} {!! Form::close() !!} @endsection @section('page_script') @endsection