Add email service and settings
This commit is contained in:
16
app/views/admin/settings/services/_email.html.erb
Normal file
16
app/views/admin/settings/services/_email.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<h3>E-Mail</h3>
|
||||
<ul role="list">
|
||||
<%= render FormElements::FieldsetToggleComponent.new(
|
||||
form: f,
|
||||
attribute: :email_enabled,
|
||||
enabled: Setting.email_enabled?,
|
||||
title: "Enable E-Mail service integration",
|
||||
description: "Enable/configure LDAP attributes for use with a mail server"
|
||||
) %>
|
||||
<%# <% if Setting.email_enabled? %>
|
||||
<%# <%= render FormElements::FieldsetResettableSettingComponent.new(
|
||||
<%# key: :gitea_public_url,
|
||||
<%# title: "Public URL"
|
||||
<%# ) %>
|
||||
<%# <% end %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user