modify template to hide optional fields

This commit is contained in:
Maxim Kochurov 2022-03-13 12:25:03 +00:00
parent 94aaef70a7
commit e89f7d31d1

View file

@ -184,20 +184,21 @@
</label> </label>
</div> </div>
</div> </div>
<div class="form-group"> <details>
<summary>Public and Preshared Keys</summary>
<div class="form-group" style="margin-top: 1rem">
<label for="client_public_key" class="control-label"> <label for="client_public_key" class="control-label">
Public Key Public Key
</label> </label>
<input type="text" class="form-control" id="client_public_key" <input type="text" class="form-control" id="client_public_key" name="client_public_key" placeholder="Autogenerated (insecure)" aria-invalid="false">
name="client_public_key" placeholder="Autogenerated (insecure)">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="client_preshared_key" class="control-label"> <label for="client_preshared_key" class="control-label">
Preshared Key Preshared Key
</label> </label>
<input type="text" class="form-control" id="client_preshared_key" <input type="text" class="form-control" id="client_preshared_key" name="client_preshared_key" placeholder="Autogenerated">
name="client_preshared_key" placeholder="Autogenerated">
</div> </div>
</details>
</div> </div>
<div class="modal-footer justify-content-between"> <div class="modal-footer justify-content-between">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>