{% import "strconv" %}
{% import "time" %}
{% import "github.com/bakape/meguca/lang" %}
{% import "github.com/bakape/meguca/auth" %}
{% import "github.com/bakape/meguca/common" %}
Report submission form
{% func ReportForm(id uint64) %}{% stripspace %}
{% code ln := lang.Get() %}
{%= captcha("all") %}
{%= submit(true) %}
{% endstripspace %}{% endfunc %}
Render list of all reports on board
{% func ReportList(reports []auth.Report) %}{% stripspace %}
{%= tableStyle() %}
{%s= strconv.FormatUint(r.ID, 10) %} | {%= staticPostLink(r.Target) %} | {%s r.Reason %} | {%s r.Created.Format(time.UnixDate) %} |