old_contents: import { Template } from 'meteor/templating'
  
  Template['vessel.visit.insert'].helpers({
    data: {
      backLink: 'vessel.details',
      entityKey: 'visitId',
      fields: [{
        key: 'isUserVisible',
        type: 'checkbox'
      }, {
        key: 'date',
        type: 'date',
        default: 'today',
        format: 'YYYYMMDD',
        required: true
      }, {
        key: 'harborId',
        type: 'picker',
        allowedKeyValuesMethod: 'vessel.visit.getAvailableHarbors',
        required: true
      }, {
        key: 'dateNext',
        type: 'date',
        format: 'YYYYMMDD'
      }]
    }
  })
  
new_contents: import { Template } from 'meteor/templating'
  
  Template['vessel.visit.insert'].helpers({
    data: {
      backLink: 'vessel.details',
      entityKey: 'visitId',
      fields: [{
        key: 'isUserVisible',
        type: 'checkbox'
      }, {
        key: 'date',
        type: 'date',
        default: 'today',
        format: 'YYYYMMDD',
        required: true
      }, {
        key: 'harborId',
        type: 'picker',
        allowedKeyValuesMethod: 'vessel.visit.getAvailableHarbors',
        search: true,
        required: true
      }, {
        key: 'dateNext',
        type: 'date',
        format: 'YYYYMMDD'
      }]
    }
  })
  
subject: add search bar to harbor list on visit creation