Sha256: 4598712905e7b18dd13de877ccddabf7bf5eca550f0c69f681ee092cad823f33

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

%h1= @advertisement.title
- if @advertisement.ad_type == 'ad_service'
  = @advertisement.ad_text.html_safe
- if @advertisement.ad_type == 'image_link'
  %a{:href => @advertisement.url}
    = image_tag @advertisement.image_url, :size => "#{@advertisement.width}x#{@advertisement.height}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 app/views/rails_adserver/advertisements/show.html.haml