Sha256: d2fb2a593a23035e810e9cfabe7dece174276aa5f598aea32b2b19dd2d183b8a

Contents?: true

Size: 476 Bytes

Versions: 22

Compression:

Stored size: 476 Bytes

Contents

<div class="poster">
  <% if event.poster.new_record? %>
    <%= image_tag("poster.png") %>
  <% else %>
    <%= image_tag thumb_file_for(event.poster, '80x113#'), "data-modal-carousel-id" => "false", "data-modal-carousel-content" => "#{ thumb_for(event.poster, 500) }" %>
  <% end %>

  <% if can? :update, event %>
    <div class="update">
      <%= link_to t('event.poster.update'), edit_event_path(event, :poster => true), :remote => true %>
    </div>
  <% end %>
</div>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
social_stream-2.0.0.beta1 events/app/views/events/_poster.html.erb
social_stream-events-2.0.0.beta1 app/views/events/_poster.html.erb