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

11 lines
536 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>
2012-04-18 07:33:11 +00:00
<%= ad_image.display? ? "[#{t('admin.ad.showing')}]" : "[#{t('admin.ad.not_showing')}]" %>
2012-04-01 15:39:49 +00:00
<%= "#{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>