ent.createElement("button");
    button.type = "button";
    button.className = "focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 font-medium rounded-lg text-xs px-3 py-1 me-2 mb-1 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900";
    button.appendChild(document.createTextNode("-"));
    button.addEventListener("click", () => openRemoveCapability(crateName, currentCapabilities, capability));
    const capabilityEl = document.createElement("span");
    c