add HP switch
ignore vim stuff
make LivePTR form conditional (see #1241)

* renderLivePTR(): make the form conditional: only generate the elements
  if the submit would be permitted
fix opspec for "cables-heaps-upd"

Amount is not present on the form, it is managed on a separate tab.