13 lines
494 B
Plaintext
13 lines
494 B
Plaintext
<li class="span3">
|
|
<%= image_tag ad_image.file rescue nil%>
|
|
<p>
|
|
<%= ad_image.display? ? '[Showing]' : '[NotShawing]' %>
|
|
<%= "#{ad_image.post_date ||'NeedReset' }~#{ad_image.unpost_date || 'NeedReset'}" %>
|
|
</p>
|
|
<p>
|
|
<%= link_to 'Edit',edit_admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn btn-primary' %>
|
|
<%= link_to 'Del',admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn',:method => :delete,:confirm => t('sure?') %>
|
|
</p>
|
|
</li>
|
|
|