make em private
This commit is contained in:
parent
1394ce1e0c
commit
02cdca748d
4 changed files with 123 additions and 37 deletions
|
|
@ -27,9 +27,19 @@
|
|||
<div class="text-xs"></div>
|
||||
<textarea name="head_injection" value="<%= it.structure.route_prefix || "" %>"><%= it.structure.head_injection || "" %></textarea>
|
||||
</div>
|
||||
<div class="field-row">
|
||||
<input type="checkbox" id="public" name="public" <%= it.structure.public ? "checked" : "" %>
|
||||
_="on change toggle .hidden on #public-warning">
|
||||
<label for="public">Public (anyone on the open web, no login)</label>
|
||||
</div>
|
||||
<div id="public-warning" class="text-xs text-red-700 pl-1 <%= it.structure.public ? "" : "hidden" %>">
|
||||
⚠️ This puts the structure on the open web — anyone can view it
|
||||
without logging in. Every other structure requires a login by
|
||||
default; only check this if you truly mean to make it public.
|
||||
</div>
|
||||
<div class="field-row">
|
||||
<input type="checkbox" id="private" name="private" <%= it.structure.private ? "checked" : "" %>>
|
||||
<label for="private">Private (only invited members)</label>
|
||||
<label for="private">Members only (invited members, stricter than login)</label>
|
||||
</div>
|
||||
<button id="save-btn" type="submit">Save</button>
|
||||
<div id="result"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue