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

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

{{ $error }}

@endforeach
@endif {!! Form::model($eventvolunteer, ['method' => $eventvolunteer ? 'PATCH' : 'POST','route' => $eventvolunteer ? ['eventvolunteers.update', $eventvolunteer->id] : 'eventvolunteers.store','id'=>'form_event_volunteers', 'novalidate'=>"novalidate","enctype"=>"multipart/form-data"]) !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{!! Form::label('name', 'اسم', ['class' => 'form-label']) !!} *
{!! Form::text('username', null, ['class' => 'form-control']) !!}
{!! Form::text('password', "", ['class' => 'form-control']) !!} اترك هذا الصندوق فارغاً إذا كنت لا تريد تغيير كلمة المرور
status==1 ? 'checked' : ''):'checked' }} value="1" name="status" id="yes"> status==0 ? 'checked' : ''):'' }} name="status" id="no">
{!! Form::label('status', 'الحالة', ['class' => 'form-label']) !!}
إلغاء
{!! Form::submit($eventvolunteer ? 'تحديث' : 'حفظ', ['class' => 'btn btn-primary btn-cons','id' => 'btn-submit']) !!}
{!! Form::close() !!}
@endsection @section('page_script') @endsection