Rails アプリケーションの Active Admin を使用して管理パネルを実装しています。
管理画面内にコメント欄があり、承認したいコメントにチェックを入れて更新ボタンをクリックすることで、コメントのグループを承認したいと考えています。
私の以前のバージョンの管理パネルでは、グループの更新を行ったページの一部は次のようになります。
<%= form_tag(:controller => "admin/comments", :action => "update_statuses") do %>
<table>
<% @comments.each do |comment| %>
<tr>
<td><%= check_box_tag("comments[]", comment.id) %></td>
#More table cells with info about comment
</tr>
<%end%>
</table>
<%= select_tag "status", options_for_select(comment_statuses) %>
<%= submit_tag "Update" %>
<% end %>
アクティブな管理者で同様の機能を取得するには?