From cc16976ecb04a1f94dfd5b20f976c01e04c5dc00 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 26 Mar 2018 21:45:36 +0200 Subject: [PATCH] Implemented anime deletion --- styles/search.scarlet | 4 +++- utils/editform/editform.go | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/styles/search.scarlet b/styles/search.scarlet index ef9d94ff..b61695e7 100644 --- a/styles/search.scarlet +++ b/styles/search.scarlet @@ -7,6 +7,8 @@ width 0 height auto flex-grow 1 + opacity 0.5 :focus - color link-color \ No newline at end of file + color link-color + opacity 1.0 \ No newline at end of file diff --git a/utils/editform/editform.go b/utils/editform/editform.go index 9e1b5240..4a7ac9ba 100644 --- a/utils/editform/editform.go +++ b/utils/editform/editform.go @@ -56,6 +56,8 @@ func Render(obj interface{}, title string, user *arn.User) string { returnPath := "" switch lowerCaseTypeName { + case "anime": + returnPath = "/explore" case "company": returnPath = "/companies" default: