gallery/app/views/admin/galleries/_image.html.erb

13 lines
638 B
Plaintext

<li class="rgalbum" data-image-id="<%= image.id.to_s %>">
<a href="<%= admin_image_path(image.id) %>">
<img src="<%= image.file.thumb %>">
</a>
<ul class="photo-action clearfix">
<li class="photo_cover"><i class="<%= (@album.cover.to_s == image.id.to_s)? "icons-star" : "icons-star-2" %>"></i></li>
<li class="phtot_depiction"><a href="#view-photo-depiction" class="open" for="description"><i class="icon-comment-alt"></i></a></li>
<li class="phtot_tag"><a href="#view-photo-tags" class="open" for="tags"><i class="icons-tag"></i></a></li>
</ul>
<div class="check">
<input type="checkbox" class="checkbox">
</div>
</li>