2012-04-13 08:52:14 +00:00
|
|
|
<li class="span3">
|
2012-04-13 08:14:43 +00:00
|
|
|
<%= 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
|
|
|
|