<commit_before>
<div class="panel panel-info">
<!-- <div class= "panel-heading"> -->
<div class="panel-heading">
  <h1>Sell an Item</h1>
</div>
  <div class= "panel-body">

    <%= form_for([current_user, Item.new]) do |item_form| %>
    <%= item_form.hidden_field :seller_id, :value => current_user.id %>
<div class="form-group">
        <%= item_form.label :name %>
        <%= item_form.text_field :name %>
</div>
<div class="form-group">
        <%= item_form.label :price %>
        <%= item_form.number_field :price%>
</div>


<div class="form-group">
 <img />
        <%= item_form.label :product %>
        <%= item_form.file_field :product, class: 'file'%>
</div><commit_msg>fixed issue with no ajax on new item page<commit_after>
<div class="panel panel-info">
<!-- <div class= "panel-heading"> -->
<div class="panel-heading">
  <h1>Sell an Item</h1>
</div>
  <div class= "panel-body">

    <%= form_for([current_user, Item.new]) do |item_form| %>
    <%= item_form.hidden_field :seller_id, :value => current_user.id %>
<div class="form-group">
        <%= item_form.label :name %>
        <%= item_form.text_field :name %>
</div>
<div class="form-group">
        <%= item_form.label :price %>
        <%= item_form.number_field :price%>
</div>

<div class = 'upload-preview'>
<div class="form-group">
 <img />
        <%= item_form.label :product %>
        <%= item_form.file_field :product, class: 'file'%>
</div>
{'fraction_non_alphanumeric': 0.20476858345021037, 'fraction_numerical': 0.002805049088359046, 'mean_word_length': 3.417956656346749, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 52, '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': '5601762', 'n_tokens_mistral': 544, 'n_tokens_neox': 511, 'n_words': 106}