%= render partial: 'roroacms/admin/partials/table_header', locals: {path: new_admin_article_path, name: t("views.admin.articles.index.add_new_article"), id: "add-new-article" } %> <%= form_tag bulk_update_admin_articles_path do %>
<%= t("views.admin.partials.articles_table.post_title") %> | <%= t("views.admin.generic.published_date") %> | ||
---|---|---|---|
<%= check_box_tag 'posts[]', post.id %> | <%= post.post_title %><%= post.post_status == "Draft" ? t("views.admin.partials.articles_table.draft") : '' %> | <%= post.post_date.strftime "%d-%m-%Y" %> |
<%= link_to edit_admin_article_path(post), :class => 'btn btn-xs btn-default' do %>
<% end %>
<%= link_to page_path(post), :class => 'btn btn-xs btn-default', :target => "_blank" do %>
<% end %>
<%= link_to admin_article_path(post), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-xs btn-danger' do %>
<% end %>
|