@extends('layouts.admin') @section('title', 'Ajouter un album') @section('content')
{!! Form::model($album, ['method' => 'POST', 'enctype' => "multipart/form-data", "url" => route('admin-cnp.photos.store')]) !!}

Ajouter un album

@if (session('success')) @endif
@if (session('danger')) @endif
{!! Form::text('titre', null, ["class" => "form-control", "required"]) !!} @if ($errors->has('titre')) {{ $errors->first('titre') }} @endif
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif @if ($errors->has('images')) {{ $errors->first('images') }} @endif
{!! Form::close() !!}
@endsection @section('css') @endsection @section('script') @endsection