interfave name ui upadte

This commit is contained in:
Devdatt Bhatt 2026-06-08 05:17:21 +00:00
parent a718f7eff0
commit c094498ed8
1 changed files with 3 additions and 3 deletions

View File

@ -151,8 +151,8 @@ $selected_interface = $_GET['interface'] ?? array_keys($interface_data)[0] ?? nu
<div class="mb-3"> <div class="mb-3">
<label class="form-label">Interface Name</label> <label class="form-label">Interface Name</label>
<input type="text" class="form-control" name="interface_name" <input type="text" class="form-control" name="interface"
value="<?php echo htmlspecialchars($interface_data[$selected_interface]['config']['interface_name'] ?? ''); ?>" value="<?php echo htmlspecialchars($interface_data[$selected_interface]['config']['interface'] ?? $selected_interface); ?>"
placeholder="Enter interface name"> placeholder="Enter interface name">
</div> </div>