Sha256: e0daca8bcf480c9a669a1e89a62d790a25aca570208f89e820d2f3334400cbf3

Contents?: true

Size: 787 Bytes

Versions: 36

Compression:

Stored size: 787 Bytes

Contents

.center.asset{:id => "video#{video.id}"}
  = "<h3>#{video.name}</h3>" unless video.name.blank?
  %object{:align => "c", :height => "390", :width => "520"}
    %param{:name => "movie", :value => video.url}/
    %param{:name => "allowFullScreen", :value => "true"}/
    %param{:name => "allowscriptaccess", :value => "always"}/
    %embed{:allowfullscreen => "true", :allowscriptaccess => "always", :height => "390", :src => video.url, :type => "application/x-shockwave-flash", :width => "520"}
  = "<p>By: #{video.description}</p>" unless video.description.blank?
  - if admin_signed_in?
    %p.asset-admin
      = link_to "Remove Video", video, :confirm => 'Are you sure?', :method => :delete
      = link_to "Edit Video", edit_video_path(video), :rel=>"#overlay", :class => "overlayed"

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
sbdevcore-0.3.10 app/views/videos/_show.html.haml
sbdevcore-0.3.9 app/views/videos/_show.html.haml
sbdevcore-0.3.8 app/views/videos/_show.html.haml
sbdevcore-0.3.7 app/views/videos/_show.html.haml
sbdevcore-0.3.6 app/views/videos/_show.html.haml
sbdevcore-0.3.5 app/views/videos/_show.html.haml
sbdevcore-0.3.4 app/views/videos/_show.html.haml
sbdevcore-0.3.3 app/views/videos/_show.html.haml
sbdevcore-0.3.2 app/views/videos/_show.html.haml
sbdevcore-0.3.1 app/views/videos/_show.html.haml
sbdevcore-0.3.0 app/views/videos/_show.html.haml
sbdevcore-0.2.26 app/views/videos/_show.html.haml
sbdevcore-0.2.25 app/views/videos/_show.html.haml
sbdevcore-0.2.24 app/views/videos/_show.html.haml
sbdevcore-0.2.23 app/views/videos/_show.html.haml
sbdevcore-0.2.22 app/views/videos/_show.html.haml
sbdevcore-0.2.21 app/views/videos/_show.html.haml
sbdevcore-0.2.20 app/views/videos/_show.html.haml
sbdevcore-0.2.19 app/views/videos/_show.html.haml
sbdevcore-0.2.18 app/views/videos/_show.html.haml