Select Attributes for Vertica History for <%= @model %> <%= @id %>

Select Attributes you want to see in the table for the history of the records in vertica
<%= form_for(@model.to_s.to_sym, url:{:controller=>'admin/vertica_history', :action=>'view_history'}, method: 'get', html: { class: 'form-horizontal' }) do |f| %> <% @columns.each do |key| %>
>
  • <%= check_box_tag 'attribute-keys[]', key -%> <%= h key -%>
  • <% end %>
  • <%= check_box_tag 'attribute-keys[]', "*" -%> <%= h "All Attributes" -%>
  • <%= f.submit('View History', class: 'btn btn-primary') %> <% end %>
    <%= link_to "Cancel", "/rails_admin/#{@model}/#{@id}" %>