Sha256: 96e7f498dba5255ccb79511699dbc475a2fa43f86a9a1933e4a611cd33a02f0a
Contents?: true
Size: 858 Bytes
Versions: 2
Compression:
Stored size: 858 Bytes
Contents
.modal.modal-large %header = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'} %h3 Afbeelding invoegen %section .gallery-select.gallery .item = form_for [spina, :admin, @photo], html: {multipart: true} do |f| = f.file_field :file, data: {customfileinput: true} = form_tag spina.insert_photo_admin_photos_path(params[:page_part_id]), remote: true, class: 'gallery-prepend-image' do - @photos.each do |photo| .item{class: ('selected' if photo == @selected_photo)} .overlay= radio_button_tag :photo_id, photo.id, photo == @selected_photo = image_tag photo.file.thumb %footer = link_to "Annuleren", "#", data: {dismiss: 'modal'} = button_tag "Afbeelding invoegen", type: 'submit', class: 'primary', data: {icon: 't '}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.12 | app/views/spina/admin/photos/_photo_select.html.haml |
spina-0.6.11 | app/views/spina/admin/photos/_photo_select.html.haml |