nouveau fichier : SRC/app/Http/Controllers/ImageController.php

modifié :         SRC/app/Http/routes.php
	modifié :         SRC/composer.json
	modifié :         SRC/composer.lock
	modifié :         SRC/config/app.php
	modifié :         SRC/resources/views/backend/ref_listeoeuvres.blade.php
This commit is contained in:
sidya82
2015-03-17 11:55:12 +01:00
parent 40dae8987b
commit 091c3cbdd7
6 changed files with 124 additions and 5 deletions

View File

@ -1,10 +1,10 @@
<legend>Résultat de ma recherche</legend>
<select multiple="multiple" class="multiple" id="toadd" name="toadd[]">
@foreach($oeuvres as $oeuvre)
<option data-img-src='http://www.augustins.org/documents/10180/156407/{{$oeuvre->image}}' value='{{$oeuvre->id}}'></option>
<option data-img-src='/image/200/{{$oeuvre->image}}' value='{{$oeuvre->id}}'></option>
@endforeach
</select>
<div class="text-center">
{!! $oeuvres->render() !!}
</div>
<button type="submit" class="btn btn-primary">Ajouter à la liste courante</button>
<button type="submit" class="btn btn-primary">Ajouter à la liste courante</button>