Manage Secrets in Group: <%= group.name %> (ID: <%= group.id %>)

<% if (message && message.text) { %>
<%= message.text %>
<% } %> <%# Placeholder for "Add New Secret to This Group" form - Step 5c %>

Add New Secret to Group "<%= group.name %>"


<% if (typeof editingSecretKey !== 'undefined' && editingSecretKey && typeof secretToEdit !== 'undefined') { %>

Edit Secret Value: <%= editingSecretKey %> in Group <%= group.name %>

Cancel Edit

<% } %>

Secrets in this Group

<% if (secretsInGroup && secretsInGroup.length > 0) { %> <% secretsInGroup.forEach(secret => { %> <% }); %>
Key Value (Preview) Actions
<%= secret.key %> <% let preview = typeof secret.value === 'string' ? secret.value : JSON.stringify(secret.value); if (preview.length > 50) preview = preview.substring(0, 50) + '...'; %> <%= preview %> Edit Value
\"? This action cannot be undone.');">
<% } else { %>

No secrets currently in this group. You can add one above.

<% } %>