diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-04 15:46:13 +0500 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-04 15:46:13 +0500 |
commit | 74cbfdd7369f4a1ba80222d98d59387318a6200d (patch) | |
tree | 511dd2c5474ee8fea023471195a165059d27e7a7 | |
parent | README: update (diff) | |
download | wireguard-config-74cbfdd7369f4a1ba80222d98d59387318a6200d.tar.gz wireguard-config-74cbfdd7369f4a1ba80222d98d59387318a6200d.zip |
forgot to set inputs to default values
-rw-r--r-- | index.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |