@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
{{--
--}}

عن المطور


{!! Form::open(['route' => 'admin.w2h.store','method' => 'POST','id'=>'w2h_form']) !!}
{!! Form::textarea('section_1_text',$w2h->section_1_text, ['class' => 'form-control textarea','required' => 'required','rows'=>3]) !!}
{!! Form::label('Section 1 Text', 'Section 1 Text :', ['class' => 'form-label']) !!}
{!! Form::textarea('section_2_text',$w2h->section_2_text, ['class' => 'form-control textarea','required' => 'required','rows'=>3]) !!}
{!! Form::label('Section 2 Text', 'Section 2 Text :', ['class' => 'form-label']) !!}
{!! Form::email('email',$w2h->email, ['class' => 'form-control', 'id' => 'email','required' => 'required']) !!}
{!! Form::label('Email', 'بريد الكتروني :', ['class' => 'form-label']) !!} *
show_email=='Yes' ? 'checked' : ''):'checked' }} value="Yes_email" name="email_radio" id="Yes_email" required> show_email=='No' ? 'checked' : ''):'checked' }} value="No_email" name="email_radio" id="No_email" required>
{!! Form::label('email', 'تبين :', ['class' => 'form-label']) !!} *
{!! Form::text('phone',$w2h->phone, ['class' => 'form-control', 'id' => 'phone','required' => 'required']) !!}
{!! Form::label('Phone', 'هاتف :', ['class' => 'form-label']) !!} *
show_phone=='Yes' ? 'checked' : ''):'checked' }} value="Yes_phone" name="phone_radio" id="Yes_phone" required> show_phone=='No' ? 'checked' : ''):'checked' }} value="No_phone" name="phone_radio" id="No_phone" required>
{!! Form::label('phone', 'تبين :', ['class' => 'form-label']) !!} *
{!! Form::submit('تحديث', ['class' => 'btn btn-primary btn-cons pull-right','id' => 'btn-submit']) !!}
{!! Form::close() !!}
@endsection @section('page_script') @endsection