client/app/books/book.html
changeset 49 88cd0bb61c12
parent 32 802ba9793507
child 64 8eb98cd4c29d
--- a/client/app/books/book.html	Tue Mar 31 12:25:19 2015 +0200
+++ b/client/app/books/book.html	Tue Mar 31 12:27:10 2015 +0200
@@ -1,9 +1,9 @@
 <p>Books {{idBook}}&nbsp;:</p>
 
-<ul class="list-unstyled list-inline row gallery">
+<ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery">
   <li class="col-md-3 item" ng-repeat="i in slides">
     <div class="img-ctn">
-        <img class="img img-responsive image" ng-src="{{ i.details.firstImg }}" />
+        <img class="img img-responsive image" ng-src="{{ i.details.images }}" />
         <p>{{ i.details.title }}</p>
         <div class="gallery-buttons">
           <a class="btn btn-default" href="#/slide/edit/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a>