fix: Prevent error when creating a root pod

This commit is contained in:
Joachim Van Herwegen 2023-10-05 13:04:33 +02:00
parent 44f731d7e7
commit da46becf7a

View File

@ -59,7 +59,9 @@
Create a new Pod with my WebID as owner<% if (locals.allowRootPod) { %> in the root<% } %>.
</label>
<ol id="createPodForm">
<% if (!locals.allowRootPod) { %>
<% if (locals.allowRootPod) { %>
<input type="hidden" id="rootPod" name="rootPod" value="true">
<% } else { %>
<li id="podNameForm">
<label for="podName">Pod name:</label>
<input id="podName" type="text" name="podName" value="<%= prefilled.podName || '' %>">