<commit_before>
<div id="questions">

  <h2><%= @question.title %></h2>
  <p><%= @question.body %></p>
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> delete vote count
  <% if @question.user == current_user %>
    <%= link_to "edit", edit_question_path(@question), class: "own-buttons" %>
    <%=link_to "delete", @question,method: :delete, data: { confirm: "Are you sure?"}, class: "own-buttons" %>
    <% end %>
<<<<<<< HEAD
=======
  <%= link_to "edit", edit_question_path(@question), class: "buttons" %>
>>>>>>> edit views
=======
>>>>>>> delete vote count

  <% if @question.comments.any? %>
    <ul>
      <% @question.comments.each do |c| %>
        <li><%= link_to c.body %></li>
     <% end %>
    </ul>
    <% end %>
  <%= link_to "comment", new_comment_path(:parent => @question.class, :id => @question.id) %><br>
  <%= link_to "add answer", new_question_answer_path(question_id: @question) %>
  <BR>

<<<<<<< HEAD
<<<<<<< HEAD
<% if @question.answers.any? %>
 <h3><%= pluralize(@question.answers.count,  "answer" ) %></h3>
    <ul class="answers-block">
  <%= render partial: '/answers/answer', collection: @question.answers %>
</ul>
<% end %>
</div>
=======

  <%= render partial: '/answers/answer', collection: @question.answers %>

<<<<<<< HEAD
>>>>>>> work on css for index
=======
<<<<<<< HEAD

=======
  <% if @question.answers.any? %>
 <h3><%= pluralize(@question.answers.count,  "answer" ) %></h3>
    <ul class="answers-block">
      <% @question.answers.each do |a| %>
        <li><%= link_to a.body  %>
      </li>
      <% end %>
    </ul>
  <% end %>
>>>>>>> edit views

=======
<% if @question.answers.any? %>
 <h3><%= pluralize(@question.answers.count,  "answer" ) %></h3>
    <ul class="answers-block">
  <%= render partial: '/answers/answer', collection: @question.answers %>
</ul>
<% end %>
>>>>>>>  add question count to view, use pluralize method
</div>
<commit_msg>got rid of issues<commit_after>
<div id="questions">

  <h2><%= @question.title %></h2>
  <p><%= @question.body %></p>
  <% if @question.user == current_user %>
    <%= link_to "edit", edit_question_path(@question), class: "own-buttons" %>
    <%=link_to "delete", @question,method: :delete, data: { confirm: "Are you sure?"}, class: "own-buttons" %>
    <% end %>

  <% if @question.comments.any? %>
    <ul>
      <% @question.comments.each do |c| %>
        <li><%= link_to c.body %></li>
     <% end %>
    </ul>
    <% end %>
  <%= link_to "comment", new_comment_path(:parent => @question.class, :id => @question.id) %>
  <BR>

<% if @question.answers.any? %>
 <h3><%= pluralize(@question.answers.count,  "answer" ) %></h3>
    <ul class="answers-block">
  <%= render partial: '/answers/answer', collection: @question.answers %>
</ul>
<% end %>
</div>
{'fraction_non_alphanumeric': 0.25936704256093124, 'fraction_numerical': 0.0043652237177155325, 'mean_word_length': 3.725085910652921, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 136, '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': '5102740', 'n_tokens_mistral': 1100, 'n_tokens_neox': 980, 'n_words': 213}