From 78ed421228e748d97cf5ab31efe8a9c353da24fb Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Fri, 29 Dec 2023 15:24:53 -0600 Subject: [PATCH] Add edit check in edit page title --- templates/add_edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/add_edit.html b/templates/add_edit.html index 63957ec..1d004fe 100644 --- a/templates/add_edit.html +++ b/templates/add_edit.html @@ -1,6 +1,6 @@ {{template "base" .}}
-

Add Repo

+

{{ if .isEdit }}Edit{{ else }}Add{{ end }} Repo

-- 2.45.2