{{ define "device_verify.gohtml" }}{{ template "base" . }}{{ end }}

{{ define "device_verify_content" }}
<section class="auth-shell">
  <div class="auth-panel">
    <div class="auth-panel__header">
      <p class="eyebrow">Device authorization</p>
      <h1>Approve device</h1>
    </div>
    <form class="auth-form" data-device-approve>
      <label>
        User code
        <input type="text" name="userCode" value="{{ .UserCode }}" autocomplete="one-time-code" required />
      </label>
      <button type="submit">Approve</button>
      <p class="form-status" data-device-status></p>
    </form>
    <p class="auth-note">You must be signed in with a browser session before approving a device.</p>
  </div>
</section>
{{ end }}
