summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 20:56:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 20:56:10 -0400
commitbab80bf24ada54f8dec2a35bbb77219441719f6a (patch)
treebf50073cd769cff830bbcd41975491bf0df1a45b /templates
parentc950e8fba0de95f3a102b2653f70457fc8f19ab3 (diff)
full input validation for repository path
Expands ~ , checks for every crazy input problem I can think of
Diffstat (limited to 'templates')
-rw-r--r--templates/configurators/addrepository/form.hamlet3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/configurators/addrepository/form.hamlet b/templates/configurators/addrepository/form.hamlet
index fa5d07f2d..e72dbcf43 100644
--- a/templates/configurators/addrepository/form.hamlet
+++ b/templates/configurators/addrepository/form.hamlet
@@ -6,3 +6,6 @@
^{fvInput pathView}
<button type=submit .btn>
Make Repository
+$if err
+ <div .alert .alert-error>
+ #{errmsg}