mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Prevent error when creating a root pod
This commit is contained in:
parent
44f731d7e7
commit
da46becf7a
@ -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 || '' %>">
|
||||
|
Loading…
x
Reference in New Issue
Block a user