<commit_before><%
record = list_record if list_record # compat with render :partial :collection
dont_show_calculations ||= false
tr_class = cycle("", "even-record")
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class
url_options = params_for(:action => :list, :id => record.id)
-%>

<tr class="record <%= tr_class %>" id="<%= element_row_id(:action => :list, :id => record.id) %>">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = get_column_value(record, column) -%>

    <td class="<%= column_class(column, column_value) %>" >
      <%= record.authorized_for?(:action => :read, :column => column.name) ? render_list_column(column_value, column, record) : '' %>
    </td>
  <% end -%>
  <td class="actions">
    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} if active_scaffold_config.action_links.any? {|link| link.type == :record } %>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>
<script type="text/javascript">
//<![CDATA[
actions = new ActiveScaffold.Actions.Record(
  $$('#<%= target_id -%> a.action'),<commit_msg>remove not used JS variable<commit_after><%
record = list_record if list_record # compat with render :partial :collection
dont_show_calculations ||= false
tr_class = cycle("", "even-record")
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class
url_options = params_for(:action => :list, :id => record.id)
-%>

<tr class="record <%= tr_class %>" id="<%= element_row_id(:action => :list, :id => record.id) %>">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = get_column_value(record, column) -%>

    <td class="<%= column_class(column, column_value) %>" >
      <%= record.authorized_for?(:action => :read, :column => column.name) ? render_list_column(column_value, column, record) : '' %>
    </td>
  <% end -%>
  <td class="actions">
    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} if active_scaffold_config.action_links.any? {|link| link.type == :record } %>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>
<script type="text/javascript">
//<![CDATA[
new ActiveScaffold.Actions.Record(
  $$('#<%= target_id -%> a.action'),
{'fraction_non_alphanumeric': 0.19714038128249567, 'fraction_numerical': 0.0, 'mean_word_length': 5.257452574525745, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4220405', 'n_tokens_mistral': 825, 'n_tokens_neox': 788, 'n_words': 162}