Sha256: 5b5a9a9fbeda25a9593551009b854395e633802bfa670eb78aaa0e61af71994f

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

.item{class: ('selected' if photo_multi_picker.id.in?(@selected_photo_ids)) }
  = check_box_tag 'photo_ids[]', photo_multi_picker.id, photo_multi_picker.id.in?(@selected_photo_ids)
  = image_tag photo_multi_picker.file.thumb.url, id: "photo_#{photo_multi_picker.id}"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spina-0.12.0 app/views/spina/admin/photos/_photo_multi_picker.html.haml
spina-0.11.1 app/views/spina/admin/photos/_photo_multi_picker.html.haml
spina-0.11.0 app/views/spina/admin/photos/_photo_multi_picker.html.haml
spina-0.10.0 app/views/spina/admin/photos/_photo_multi_picker.html.haml