<template name="Order">
  <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'}}
  {{/autoForm}}
  </div>
  <h2>Contact</h2>
  {{> updateContact contact=getContact}}
  <h2>Resources</h2>
  {{#if resources}}
    <div class="row">
    {{> reactiveTable class="table table-striped table-hover col-sm-12 table-bordered" settings=settings}}
    </div>
  {{/if}}
</template>

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

<template name="orderResourceSold">
  <input checked={{isSold}} {{disabled}} class="checkbox" type="checkbox" />
</template>

<template name="Order">
  <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'}}
  {{/autoForm}}
  </div>
  {{#if getContact}}
    <h2>Contact</h2>
    {{> updateContact contact=getContact}}
  {{/if}}
  <h2>Resources</h2>
  {{#if resources}}
    <div class="row">
    {{> reactiveTable class="table table-striped table-hover col-sm-12 table-bordered" settings=settings}}
    </div>
  {{/if}}
</template>

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

<template name="orderResourceSold">
  <input checked={{isSold}} {{disabled}} class="checkbox" type="checkbox" />
</template>

Print contact only if contact
Print contact only if contact
