Sha256: 5bd568f5dbe3a277e7e49dddd1771b3f553baacba6755ce6af5fd99d9ba23602

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

- asset = effective_asset.asset

- if asset.nil?
  %img{:src => '#'}
- elsif asset.image?
  = effective_asset_image_tag(asset, nil, :class => effective_asset.html_class)
- else
  = effective_asset_link_to(asset, nil, :class => effective_asset.html_class, :title => effective_asset.link_title.presence)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_assets-1.1.2 app/views/effective/snippets/_effective_asset.html.haml
effective_assets-1.1.1 app/views/effective/snippets/_effective_asset.html.haml
effective_assets-1.1.0 app/views/effective/snippets/_effective_asset.html.haml