diff options
Diffstat (limited to 'static/admin.html')
-rw-r--r-- | static/admin.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/admin.html b/static/admin.html index f7db70c..a4c61c1 100644 --- a/static/admin.html +++ b/static/admin.html @@ -33,10 +33,10 @@ <form id="follow-form" action="/{{ .Key }}/follow" method="post" enctype="application/x-www-form-urlencoded"> <label>Subscribe:</label><br> <input id="follow" name="follow" style="margin-bottom: 12px;" placeholder="http://localhost:3000/g"></input><input type="submit" value="Subscribe"><br> - <input type="hidden" name="actor" value="{{ .Actor }}"> + <input type="hidden" name="actor" value="{{ .Actor.Id }}"> </form> <ul style="display: inline-block; padding: 0; margin: 0;"> - {{ $actor := .Actor }} + {{ $actor := .Actor.Id }} {{ $key := .Key }} {{ range .Following }} <li><a href="/{{ $key }}/follow?follow={{ . }}&actor={{ $actor }}">[Unfollow]</a><a href="{{ . }}">{{ . }}</a></li> |