<% @table_fields.each do |f| %> <%= thead(f) %> <% end %> <% @video_programs.each do |video_program| %> <% end %>
<%= video_program.status_for_table %> <%= video_program.category.title rescue "" %> <% if (video_program.category.disable rescue false) %> <%= t(:disabled) %> <% end %> <% if video_program.expired? || (video_program.category.disable rescue false)%> <%= video_program.title.to_s.html_safe %> <% else %> <%= video_program.title.to_s.html_safe %> <% end %> <% if video_program.expired? %> <%= t(:expired) %> <% end %>
<%= format_value video_program.postdate %> "><%= format_value video_program.deadline %> <%= video_program.update_user.user_name rescue ""%>
" class="footable-row-detail-inner" style="display: none;">
<%= t(:view_count) %> : <%= video_program.view_count %>
<%= t(:tags) %> : <% video_program.tags.each do |tag| %> <%= tag.name %> <% end %>
<%= content_tag :div, class: "bottomnav clearfix" do content_tag(:div, paginate(@video_programs), class: "pagination pagination-centered") + content_tag(:div, link_to(t(:new_),new_admin_video_program_path, :class=>"btn btn-primary"), class: "pull-right") end %>