summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 73bc4ba..32ae526 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -896,6 +896,7 @@ def action_client_update():
r = server.get('/client/info', payload)
db_client = r.json()
+ form.mac.render_kw = {'placeholder': 'aabbccddeeaa'}
form.server.data = "{0}:{1}".format(server.ip, server.port)
form.ip.data = db_client['ip']
form.ip.render_kw = {'readonly': True}
@@ -963,6 +964,7 @@ def action_client_add():
r = server.get('/mode')
available_modes = [(mode, mode) for mode in r.json()['modes']]
form.boot.choices = list(available_modes)
+ form.mac.render_kw = {'placeholder': 'aabbccddeeaa'}
r = server.get('/scopes')
room_id = params['scope-room']