<% @table_fields.each do |f| %> <%= thead(f) %> <% end %> <% @video_images.each do |image| %> <% end %>
<%= image.status_for_table %> <%= image.category_title %> <% if image.exchange_item == "1" %> <% elsif image.exchange_item == "2" %> <% video_snapshot_url = "" video_snapshot_url = image.video_snapshot.url if image.video_snapshot.file %> <% elsif image.exchange_item == "3" %> <%= image_tag image.file.thumb, :class => "video_data-image" %> <% end %> <%= image.title.to_s.html_safe rescue "" %> <% if can_edit_or_delete?(@video_data) %> <% end %> <%= image.postdate.strftime("%Y-%m-%d") rescue "" %> <%= image.deadline.strftime("%Y-%m-%d") rescue "" %> <%= image.desc %> <%= image.keyword %> <%= image.post_agency(@video_pro_setting) %>
<%= image.updated_at.strftime("%Y-%m-%d %H:%M") rescue "" %>
<%= t("video_pro.add") %>
<%= content_tag :div, paginate(@video_images), class: "pagination pagination-centered" %>