<template name="listItemsForm">
  <div class="row">
    <div class="col s6">
      <h4>{{selListName}}</h4>
    </div>
    <div class="col s6">
      <p>
        <label>
          <input type="checkbox" id="showReceivedItems" />
          <span>Show Recv'd</span>
        </label>
      </p>
    </div>
  </div>
  <div class="row">
    <div class="col s9 m10 l10">
      <input list="listItemsData" name="listItems" id="listItems">
      
      <datalist id="listItemsData">
        {{#each itemProdName}}
        <option value="{{prodName}}">{{prodName}}</option>
        {{/each}}
      </datalist>
    </div>
    <div class="col s3 m2 l2">
      {{#if $eq editMode false}}
          <a class="waves-effect waves-light btn saveListItem green right">Add</a>
      {{else}}
          <a class="waves-effect waves-light btn renameListItem blue right">Rename</a>
      {{/if}}
    </div>
  </div>
</template>