diff --git a/utils/editform/editform.go b/utils/editform/editform.go index 7c9d1b03..45ef34f0 100644 --- a/utils/editform/editform.go +++ b/utils/editform/editform.go @@ -43,12 +43,12 @@ func Render(obj interface{}, title string, user *arn.User) string { isDraft := v.FieldByName("IsDraft").Interface().(bool) if isDraft { - b.WriteString(`
`) + b.WriteString(``) } } if user.Role == "editor" || user.Role == "admin" { - b.WriteString(``) + b.WriteString(``) } b.WriteString(``)