diff --git a/web/src/components/cipher_form.rs b/web/src/components/cipher_form.rs index 168f639..142df9c 100644 --- a/web/src/components/cipher_form.rs +++ b/web/src/components/cipher_form.rs @@ -190,11 +190,13 @@ fn clean_hex_input(input: String) -> String { fn KeyInput(set_key_input: WriteSignal) -> impl IntoView { view! {
- +
+ + "Prefix: 0x (Hex), 0b (Bin), or nothing (Text)" +
@@ -219,22 +221,19 @@ fn TextInput( view! {
- {move || { match mode.get() { OperationMode::Encrypt => { view! { +
+ + + "Prefix: 0x (Hex), 0b (Bin), or nothing (Text)" + +
{ view! { +
+ +
"0x"