Sha256: 66f07c638abd03baf26b593dc9e7d5deb3012c008e9339fbcb3f757d188d1fa1
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
<% if @asset.image? %> <%= link_to image_tag( @asset.url('100x100#', @asset.dragonfly_extension_sym), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url('800x600', @asset.dragonfly_extension_sym), :class => 'lightbox', :title => @asset.title %> <% elsif @asset.video? %> <div class="video"> <%= link_to image_tag( @asset.url('220x125#', @asset.dragonfly_extension_sym), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url, :class => 'lightboxVideo', :title => @asset.title %> <strong><%= @asset.title %></strong> </div> <% else -%> <%= link_to( @asset.title, @asset.url, :title => @asset.description, :id => "asset-#{@asset.id}" ) %> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
noodall-ui-0.1.4 | app/views/noodall/admin/assets/add.html.erb |
noodall-ui-0.1.3 | app/views/noodall/admin/assets/add.html.erb |