Sha256: 4e3a0506c4af90283a1b4e962e9f069d2dabc5f5898a996fbad83f156a3588be
Contents?: true
Size: 627 Bytes
Versions: 11
Compression:
Stored size: 627 Bytes
Contents
- cache [:movie_thumb, @edited_movie] do .image-view - unless @edited_movie.thumb.blank? img src=@edited_movie.thumb.url alt=(@edited_movie.thumb ) - else = form_for @edited_movie, :html => { :multipart => true }, :remote => true, :url => { :action => "update_thumb" } do |f| span#photoinputbtn.btn.btn-success.fileinput-button span= bt("add_file") = f.file_field :thumb canvas#imageCanvas ul#photo-fileinfo.unstyled .edit-sidebar = link_to remove_thumb_photo_path(@edited_movie), remote: true, method: :delete do span.icon24.icomoon-icon-remove
Version data entries
11 entries across 11 versions & 1 rubygems