<div class="box-body">
    <div class="form-group">
        <label for="name">Marque</label>
        {{ Form::text('name', null, ['class' => 'form-control', 'placeholder' => 'Titre'])  }}
    </div>
    <div class="form-group">
        <label for="name">Catégorie</label>
        {{ Form::select('category_id', $categories , null, ['class' => 'form-control', 'placeholder' => 'Séléctionnez une catégorie...'])  }}
    </div>
    <div class="form-group">
        <label for="description">Description</label>
        {{ Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => 'Description', 'rows'=> 5])  }}
    </div>
    <div class="form-group">
        <label for="values">Logo</label>
        @if(isset($brand->logo) && !empty($brand->logo))
        <div>
            <img src="{{ asset('storage/brands/'.$brand->logo) }}" class="" style="max-width: 300px">
        </div>
        <br>
        @endif
        {{ Form::file('logo', null, ['class' => 'form-control', 'required' => 'required'])  }}
        <p class="help-block">Pour modifier le logo selectionneez une autre </p>
    </div>
</div>
<!-- /.box-body -->
<div class="box-footer text-right">
    <a href="{{ URL::previous() }}" class="btn btn-danger">Annuler</a>
    <button type="submit" class="btn btn-primary">Enregistrer</button>
</div>