{{define "nota_block.html"}}
  <div class="eli-nps-scale">
    {{range $i := seq 1 10}}
      <button
        class="eli-nps-btn eli-nps-btn-{{$i}} {{if noteEq $.Reg.Nota $i}}eli-nps-btn-selected{{end}}"
        hx-patch="/api/e-li.nps/{{$.Produto}}/{{$.ID}}"
        hx-target="#eli-nps-modal-body"
        hx-swap="innerHTML"
        hx-ext="json-enc"
        hx-vals='{"nota":{{$i}}}'
      >{{$i}}</button>
    {{end}}
  </div>
{{end}}
