aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-04 15:46:13 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-04 15:46:13 +0500
commit74cbfdd7369f4a1ba80222d98d59387318a6200d (patch)
tree511dd2c5474ee8fea023471195a165059d27e7a7 /index.html
parentREADME: update (diff)
downloadwireguard-config-74cbfdd7369f4a1ba80222d98d59387318a6200d.tar.gz
wireguard-config-74cbfdd7369f4a1ba80222d98d59387318a6200d.zip
forgot to set inputs to default values
Diffstat (limited to '')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index cb6f84e..87839a5 100644
--- a/index.html
+++ b/index.html
@@ -113,7 +113,7 @@ show the configuration that can be easily consumed by the new client.</p>
<div class="form-group" id="param_{{ param.id }}_container" {% if param.advanced %}style="display: none;"{% endif %}>
<label for="param_{{ param.id }}" class="col-sm-3 control-label">{{ param.name }}</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="param_{{ param.id }}" placeholder="{{ param.placeholder }}" aria-describedby="param_{{ param.id }}_help">
+ <input type="text" class="form-control" id="param_{{ param.id }}" placeholder="{{ param.placeholder }}" aria-describedby="param_{{ param.id }}_help"{% if param.default != null %} value="{{ param.default }}"{% endif %}>
<span id="param_{{ param.id }}_help" class="help-block" style="margin-bottom: 0;">
<span id="param_{{ param.id }}_error" class="text-danger small" style="display: block; white-space: pre-line; margin-bottom: 5px;"></span>
<span>{{ param.help }}</span>