summaryrefslogtreecommitdiff
path: root/templates/api_keys.html
diff options
context:
space:
mode:
authorsimponic <simponic@hatecomputers.club>2024-03-28 16:58:07 -0400
committersimponic <simponic@hatecomputers.club>2024-03-28 16:58:07 -0400
commit60fc4ebb599d82f5c7ddaca52f8aba74f0876381 (patch)
treeabe1eebb6154453cfa67812d7dfc982d758931a0 /templates/api_keys.html
parentdee173cc63d3b51d47c1a321096a4963fe458075 (diff)
downloadhatecomputers.club-60fc4ebb599d82f5c7ddaca52f8aba74f0876381.tar.gz
hatecomputers.club-60fc4ebb599d82f5c7ddaca52f8aba74f0876381.zip
internal recursive dns server (#2)
Co-authored-by: Lizzy Hunt <lizzy.hunt@usu.edu> Reviewed-on: https://git.hatecomputers.club/hatecomputers/hatecomputers.club/pulls/2
Diffstat (limited to 'templates/api_keys.html')
-rw-r--r--templates/api_keys.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/templates/api_keys.html b/templates/api_keys.html
index 93eebd5..0aa3094 100644
--- a/templates/api_keys.html
+++ b/templates/api_keys.html
@@ -28,13 +28,12 @@
<h2>Add An API Key</h2>
<hr>
<input type="submit" value="Generate" />
- </form>
-
- {{ if .FormError }}
+ {{ if .FormError }}
{{ if (len .FormError.Errors) }}
- {{ range $error := .FormError.Errors }}
- <div class="error">{{ $error }}</div>
- {{ end }}
+ {{ range $error := .FormError.Errors }}
+ <div class="error">{{ $error }}</div>
+ {{ end }}
{{ end }}
- {{ end }}
+ {{ end }}
+ </form>
{{ end }}