+
+ {!editName && formRoute.id ? (
+ toggleEditName(true)}
+ >
+ {formRoute.id ? formRoute.network_id : "New Route"}
+
+ ) : (
+ <>
+
+
+ Add a unique cryptographic key that is assigned to
+ each device
+
+
+ toggleEditName(false)}
+ onBlur={() => toggleEditName(false)}
+ autoComplete="off"
+ maxLength={40}
+ />
+
+ >
+ )}
+ {!editDescription ? (
+ toggleEditDescription(true)}
+ style={{
+ margin: "0 0 30px",
+ lineHeight: "22px",
+ cursor: "pointer",
+ }}
+ >
+ {formRoute.description &&
+ formRoute.description.trim() !== "" ? (
+ formRoute.description
+ ) : (
+
+ Add description
+
+ )}
+
+ ) : (
+
+ toggleEditDescription(false)}
+ onBlur={() => toggleEditDescription(false)}
+ autoComplete="off"
+ maxLength={200}
+ />
+
+ )}
+
+
+