orbit-basic/app/views/admin/ad_images/index.html.erb

32 lines
661 B
Plaintext

<% set_default_index do
objects @ad_images
quick_edit_link type: 'edit',
link: 'edit_admin_ad_banner_ad_image_path'
quick_edit_link type: 'detail'
quick_edit_link type: 'delete',
link: 'admin_ad_banner_ad_image_path'
field db_field: 'file',
translation: 'image'
field db_field: 'post_date',
translation: 'start_date',
hide: 'phone',
sort: 'start_date'
field db_field: 'unpost_date',
translation: 'end_date',
hide: 'phone',
sort: 'end_date'
field db_field: 'unpost_date',
translation: 'end_date',
hide: 'phone',
sort: 'end_date'
footer link: 'new_admin_ad_banner_ad_image_path'
end %>
<%= render 'admin/default_index/index' %>