diff --git a/app/views/dashboards/_dashboard_article_row.html.erb b/app/views/dashboards/_dashboard_article_row.html.erb index 9c9945668..7be512322 100644 --- a/app/views/dashboards/_dashboard_article_row.html.erb +++ b/app/views/dashboards/_dashboard_article_row.html.erb @@ -99,7 +99,7 @@ Stats <% end %> <%= form_for(article, method: :patch, remote: true, authenticity_token: true, html: { "data-type": "json", class: "js-archive-toggle" }) do |f| %> - <%= f.hidden_field :archived, value: !article.archived %> + <%= f.hidden_field :archived, value: !article.archived, id: "article_archived_#{article.id}" %>