HTML · 740 bytes Raw Blame History
1 {{ define "page" -}}
2 <section class="shithub-auth">
3 <h1>Organization invitation</h1>
4 <p>You've been invited to join <strong>{{ .Org.DisplayName }}</strong> (@{{ .Org.Slug }}) as a <strong>{{ .Invitation.Role }}</strong>.</p>
5 <form method="POST" action="/invitations/{{ .Token }}/accept" style="display:inline">
6 <input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
7 <button type="submit" class="shithub-button shithub-button-primary">Accept</button>
8 </form>
9 <form method="POST" action="/invitations/{{ .Token }}/decline" style="display:inline">
10 <input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
11 <button type="submit" class="shithub-button">Decline</button>
12 </form>
13 </section>
14 {{- end }}