diff --git a/confluent/httpapi.py b/confluent/httpapi.py
index f6041e60..3274deca 100644
--- a/confluent/httpapi.py
+++ b/confluent/httpapi.py
@@ -251,7 +251,7 @@ def _assemble_html(responses, resource, querydict):
yield json.dumps(querydict, separators=(',', ': '),
indent=4, sort_keys=True)
yield '
'
- yield 'Only values that have their'
+ yield 'Only fields that have their boxes checked will have their '
yield 'respective values honored by the confluent server.
'
yield ''
yield ''
diff --git a/confluent/messages.py b/confluent/messages.py
index 00966e32..48b96a8a 100644
--- a/confluent/messages.py
+++ b/confluent/messages.py
@@ -26,13 +26,17 @@ class ConfluentMessage(object):
label = key
value = ''
note = ''
+ type = 'text'
if 'value' in val:
value = val['value']
if 'note' in val:
note = '(' + val['note'] + ')'
+ if val['note'] == 'Encrypted':
+ type = 'password'
+ value = 'dummyvalue'
snippet += label + ":" + \
- '%s' % (
- key, value, note)
+ '%s' % (
+ type, key, value, note)
snippet += '' % (key)
return snippet