@extends('layouts.main') @section('content')

Editer le site

{{ $site->site_nom }}
{!! Form::model($site, ['route' => ['site.update', $site], 'enctype' => 'multipart/form-data']) !!} @method('PUT')
{!! Form::label('site_id', 'Ref') !!} {!! Form::input('text', 'site_id', null, ['required', 'readonly']) !!}
{!! Form::label('site_nom', 'Nom') !!} {!! Form::input('text', 'site_nom', null, ['required']) !!}
{!! Form::label('site_logo', 'Logo') !!} 150x60px
{!! Form::file('site_logo', null, ['required']) !!} {!! Form::input('hidden', 'site_logo_hidden', $site->site_logo) !!}
{!! Form::label('site_contact', 'Contact') !!} {!! Form::email('site_contact', null, ['required']) !!}

Informations pour génération des BR :

{!! Form::label('site_libelle', 'Libellé du site') !!} {!! Form::input('text', 'site_libelle', null) !!}
{!! Form::label('site_rcs', 'RCS du site') !!} {!! Form::input('text', 'site_rcs', null) !!}
{!! Form::submit('Mettre à jour') !!}
{!! Form::close() !!}

Campagnes liées

@foreach($site->campagnes as $c) @endforeach
{{__('Ref') }} {{__('Création') }} {{__('Nom') }}
{{ $c->camp_id }} {{ $c->camp_name }} {{ $c->camp_createdate }}
@endsection