@@ -55,6 +55,8 @@ class encryptContentPlugin(BasePlugin):
5555 ('encryption_info_message' , config_options .Type (string_types , default = str (SETTINGS ['encryption_info_message' ]))),
5656 ('password_button_text' , config_options .Type (string_types , default = str (SETTINGS ['password_button_text' ]))),
5757 ('password_button' , config_options .Type (bool , default = False )),
58+ ('input_class' , config_options .Type (string_types , default = None )),
59+ ('button_class' , config_options .Type (string_types , default = None )),
5860 # password feature
5961 ('global_password' , config_options .Type (string_types , default = None )),
6062 ('use_secret' , config_options .Type (string_types , default = None )),
@@ -127,6 +129,8 @@ def __encrypt_content__(self, content, password, base_path, encryptcontent_path)
127129 'password_button' : self .config ['password_button' ],
128130 'password_button_text' : self .config ['password_button_text' ],
129131 'encryption_info_message' : self .config ['encryption_info_message' ],
132+ 'input_class' : self .config ['input_class' ],
133+ 'button_class' : self .config ['button_class' ],
130134 # this benign decoding is necessary before writing to the template,
131135 # otherwise the output string will be wrapped with b''
132136 'ciphertext_bundle' : b';' .join (ciphertext_bundle ).decode ('ascii' ),
0 commit comments