{{ template "header.html" . }}
{{ template "headeronegroup.html" . }}
<main>
<div class="outline">
{{ .Group.Display }} - {{ .Group.Name }}
{{ if .Group.IsRemote }} - <a href="{{ .Group.APid }}">{{ .Group.APid }}</a>{{ end }}
<p><details><summary>About</summary>
{{ .Group.HTDesc }}
</details>
{{ with .Group.Mods }}
<p>mods: {{ range . }} {{ . }}{{ end }}
{{ end }}
{{ if .UserInfo }}
<p>
{{ if .Group.IsSubbed .UserInfo.ID }}
<form class="inline" action="/unsubscribe" method="POST">
<input type="hidden" name="group" value="{{ .Group.Name }}">
<button tabindex=3>unsubscribe</button>
</form>
{{ else }}
<form class="inline" action="/subscribe" method="POST">
<input type="hidden" name="group" value="{{ .Group.Name }}">
<button tabindex=3>subscribe</button>
</form>
{{ end }}
{{ if .Group.IsMod .UserInfo }}
<button tabindex=3><a href="{{ .Group.Rel }}/edit">edit</a></button>
{{ end }}
<button tabindex=3><a href="/report?what={{ .Group.APid }}">report</a></button>
{{ end }}
</div>
{{ template "multipost.html" . }}
</main>
