@extends('layouts.admin') @section('content-title') @if (isset($person->id)) {{ __('data.Edit Functionary') }} @else {{ __('data.New Functionary') }} @endif @endsection @section('content-breadcrumbs') @if (isset($person->id)) {{ Breadcrumbs::render('admin.functionaries.edit')}} @else {{ Breadcrumbs::render('admin.functionaries.create')}} @endif @endsection @section('css') @endsection @section('content')

@if (isset($person->id)) {{ __('data.Edit Functionary') }} @else {{ __('data.New Functionary') }} @endif

{!!Form::open()->post()->multipart()->route('admin.data.store.person', ['entity_id' => $entity_id])!!} {!!Form::hidden('entity_id', $entity_id)!!}
Image preview...
{!!Form::text('nom',(__('data.last name').''))->placeholder(__('data.last name'))->attrs(['required'=>''])!!}
{!!Form::text('prenom', (__('data.first name').''))->placeholder(__('data.first name'))->attrs(['required'=>''])!!}
{!!Form::text('mail',(__('data.Email')))->placeholder(__('data.Email'))!!}
{!!Form::text('gsm', (__('data.GSM')))->placeholder(__('data.GSM'))!!}
{!!Form::text('date_naissance',__('data.birth date'))->placeholder(__('data.birth date'))!!}
{!!Form::text('lieu_naissance',(__('data.place of birth')))->placeholder(__('data.place of birth'))!!}
{!!Form::textarea('biographie',(__('data.biography')))->placeholder(__('data.biography'))!!} {!!Form::submit('save')->id('my-btn')!!} {!!Form::close()!!}
@endsection @section('js') @endsection