<commit_before><h3><%= t(:'adva.comments.titles.edit') %></h3>

<%= form_for :comment, @comment, :url => admin_comment_path(@comment), :html => {:method => :put} do |f| -%>
  <% render :layout => 'form', :locals => {:f => f} do %>
    <p>
      <label><%= f.check_box :approved, {}, 1 %><%= t(:'adva.comments.labels.approved') %></label>
    </p>
  <% end -%>
<% end -%><commit_msg>fix edit comment view.<commit_after><h3><%= t(:'adva.comments.titles.edit') %></h3>

<%= form_for [:admin, @comment] do |f| -%>
  <% render :layout => 'form', :locals => {:f => f} do %>
    <p>
      <label><%= f.check_box :approved, {}, 1 %><%= t(:'adva.comments.labels.approved') %></label>
    </p>
  <% end -%>
<% end -%>
{'fraction_non_alphanumeric': 0.2942008486562942, 'fraction_numerical': 0.008486562942008486, 'mean_word_length': 3.6887417218543046, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 38, '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': '7482133', 'n_tokens_mistral': 307, 'n_tokens_neox': 281, 'n_words': 58}