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

Nouveau site

@if ($errors->any())
@endif
{!! Form::open(['route' => 'site.store', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('site_id', 'Ref *') !!} {!! Form::input('text', 'site_id', null, ['required']) !!}
{!! Form::label('site_nom', 'Nom *') !!} {!! Form::input('text', 'site_nom', null, ['required']) !!}
{!! Form::label('site_logo', 'Logo *') !!} 150x60px Format: PNG
{!! Form::file('site_logo', ['class' => 'input-file', 'required']) !!}
{!! 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, ['required']) !!}
{!! Form::label('site_rcs', 'RCS du site *') !!} {!! Form::input('text', 'site_rcs', null, ['required']) !!}
Les champs avec un * sont obligatoires {!! Form::submit('Enregistrer') !!}
{!! Form::close() !!}
@endsection