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

13 lines
495 B
Plaintext
Raw Normal View History

2012-04-01 15:39:49 +00:00
<li class="span3" id = 'asd'>
<%= image_tag ad_image.file %>
<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>
2012-01-31 10:31:31 +00:00