Refactor admin settings, add all service settings

This commit is contained in:
Râu Cao
2023-03-15 11:40:47 +07:00
committed by Gitea
parent 295d486761
commit ca1221e9f3
18 changed files with 296 additions and 58 deletions

View File

@@ -0,0 +1,10 @@
<h3>Nostr</h3>
<ul role="list">
<%= render FormElements::FieldsetToggleComponent.new(
form: f,
attribute: :nostr_enabled,
enabled: Setting.nostr_enabled?,
title: "Enable Nostr integration (experimental)",
description: "Allow adding nostr pubkeys and resolve user addresses via NIP-05"
) %>
</ul>