fix bug
[networtool-web.git] / 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"/>