<commit_before><template name="Order">
  {{#unless definitiveState}}
    {{> orderActionBar}}
  {{/unless}}
  <h2>{{_ "Order"}}</h2>
  <div class="row">
  {{#autoForm class="form-horizontal" collection="Orders" doc=this id="updateOrderForm" type="readonly"}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='humanId'}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='state'}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='createdAt'}}
  {{/autoForm}}
  </div>
  {{#if getContact}}
  <h2>{{_ "Contact"}}</h2>
    {{> updateContact contact=getContact}}
  {{/if}}
  <h2>{{_ "Resources"}}</h2>
  {{#if resources.count}}
    <div class="row">
    {{> reactiveTable class="table table-striped table-hover col-sm-12 table-bordered" settings=settings}}
    </div>
  {{/if}}
  {{#unless definitiveState}}
    {{> sellOrder}}
  {{/unless}}
  {{> confirmAction}}
</template>

<template name="orderActionBar">
  <div class="row action-bar">
    <div class="col-sm-offset-8 col-sm-2">
      {{> orderAction}}
    </div>
    <div class="col-sm-2">
      <a id="cancel" class="btn btn-danger cancel" role="button">{{_ "Cancel order"}}</a>
    </div>
  </div>
</template>

<template name="orderAction">
  {{#if action}}
    <a id="{{_id}}" class="btn btn-success {{action}}" role="button">{{Action}}</a>
  {{/if}}
</template>

<template name="orderResourceAction">
  <i class="fa {{icon}}"></i>
</template>
<commit_msg>quickfic action<commit_after><template name="Order">
  {{#unless definitiveState}}
    {{> orderActionBar}}
  {{/unless}}
  <h2>{{_ "Order"}}</h2>
  <div class="row">
  {{#autoForm class="form-horizontal" collection="Orders" doc=this id="updateOrderForm" type="readonly"}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='humanId'}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='state'}}
    {{> afQuickField template="bootstrap3-horizontal" label-class="col-sm-2" input-col-class="col-sm-10" name='createdAt'}}
  {{/autoForm}}
  </div>
  {{#if getContact}}
  <h2>{{_ "Contact"}}</h2>
    {{> updateContact contact=getContact}}
  {{/if}}
  <h2>{{_ "Resources"}}</h2>
  {{#if resources.count}}
    <div class="row">
    {{> reactiveTable class="table table-striped table-hover col-sm-12 table-bordered" settings=settings}}
    </div>
  {{/if}}
  {{#unless definitiveState}}
    {{> sellOrder}}
  {{/unless}}
  {{> confirmAction}}
</template>

<template name="orderActionBar">
  <div class="row action-bar">
    <div class="col-sm-offset-8 col-sm-2">
      {{> orderAction}}
    </div>
    <div class="col-sm-2">
      <a id="cancel" class="btn btn-danger cancel" role="button">{{_ "Cancel order"}}</a>
    </div>
  </div>
</template>

<template name="orderAction">
  {{#if action}}
    <a id="{{_id}}" class="btn btn-success {{action}}" role="button">{{action}}</a>
  {{/if}}
</template>

<template name="orderResourceAction">
  <i class="fa {{icon}}"></i>
</template>

{'fraction_non_alphanumeric': 0.22961104140526975, 'fraction_numerical': 0.014429109159347553, 'mean_word_length': 4.555749128919861, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 81, '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': '4013218', 'n_tokens_mistral': 1161, 'n_tokens_neox': 1119, 'n_words': 205}