<commit_before><template>
  <div>
    <draggable class="attachments" v-model="attachments" :options="{group:'people'}" v-on:change="draggableChange">
      <div class="attachment" v-for="attachment in attachments">
        <img :src="'http://localhost:9292/'+attachment.file.thumb.url" class="attachment__item">
        <a class="attachment__delete" type="button" v-on:click.prevent="remove(attachment)">remove</a>
      </div>
    </draggable>

    <dropzone id="file-uploader"
              :url="resourceUrl"
              :maxFileSizeInMB="10"
              :maxNumberOfFiles="20"
              acceptedFileTypes="image/*"
              paramName="product[attachments[extra][file]][]"
              v-on:vdropzone-success="fileUploaded"
              v-on:vdropzone-success-multiple="fileUploaded"
              :useFontAwesome="true"
              :showRemoveLink="false">
      <input type="hidden" name="csrf-token":value="token">
      {{ resourceUri }}
    </dropzone>
  </div>
</template>

<script>
import Dropzone from 'vue2-dropzone'<commit_msg>fixed image path<commit_after><template>
  <div>
    <draggable class="attachments" v-model="attachments" :options="{group:'people'}" v-on:change="draggableChange">
      <div class="attachment" v-for="attachment in attachments">
        <img :src="'/'+attachment.file.thumb.url" class="attachment__item">
        <a class="attachment__delete" type="button" v-on:click.prevent="remove(attachment)">remove</a>
      </div>
    </draggable>

    <dropzone id="file-uploader"
              :url="resourceUrl"
              :maxFileSizeInMB="10"
              :maxNumberOfFiles="20"
              acceptedFileTypes="image/*"
              paramName="product[attachments[extra][file]][]"
              v-on:vdropzone-success="fileUploaded"
              v-on:vdropzone-success-multiple="fileUploaded"
              :useFontAwesome="true"
              :showRemoveLink="false">
      <input type="hidden" name="csrf-token":value="token">
      {{ resourceUri }}
    </dropzone>
  </div>
</template>

<script>
import Dropzone from 'vue2-dropzone'
{'fraction_non_alphanumeric': 0.16030534351145037, 'fraction_numerical': 0.006679389312977099, 'mean_word_length': 3.040462427745665, 'pattern_counts': {'":': 2, '<': 33, '<?xml version=': 0, '>': 33, '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': '3096448', 'n_tokens_mistral': 645, 'n_tokens_neox': 628, 'n_words': 89}