fix bug master
authorPeng Li <seudut@gmail.com>
Tue, 28 Aug 2018 02:15:55 +0000 (10:15 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 28 Aug 2018 02:15:55 +0000 (10:15 +0800)
views/main.tpl

index 1901332..2f01370 100644 (file)
@@ -19,9 +19,9 @@ Scan and Select the WiFI to connect to:<br>
             % else:
                 <option value={{ssid}}>{{ssid}}</option>
             % end
-            % if mode == 'AP':
-                <option value="----" selected>{{ssid}}</option>
-            % end
+        % end
+        % if mode == 'AP':
+            <option value="----" selected>{{ssid}}</option>
         % end
     </select>
     <input name="action" value="Scan" type="submit"/>