Orbit/app/views/admin/ad_banners/_ad_image_update.html.erb

13 lines
503 B
Plaintext
Raw Normal View History

<li class="span3">
<%= image_tag ad_image.file rescue nil%>
2012-04-01 15:39:49 +00:00
<p>
<%= ad_image.display? ? '[Showing]' : '[NotShawing]' %>
<%= "#{ad_image.post_date ||'NeedReset' }~#{ad_image.unpost_date || 'NeedReset'}" %>
</p>
<p>
2012-04-17 07:21:43 +00:00
<%= link_to t('edit'),edit_admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn btn-primary' %>
<%= link_to t('delete'),admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn',:method => :delete,:confirm => t('sure?') %>
2012-04-01 15:39:49 +00:00
</p>
</li>
2012-01-31 10:31:31 +00:00