From 88612913a68846ced1249ad2446bf9b73f0629aa Mon Sep 17 00:00:00 2001 From: Alex Turchyn Date: Thu, 23 Jul 2026 00:28:09 +0300 Subject: [PATCH] wrap smtp security radios on small screens --- app/views/email_smtp_settings/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/email_smtp_settings/index.html.erb b/app/views/email_smtp_settings/index.html.erb index 378551ed..3407b0ef 100644 --- a/app/views/email_smtp_settings/index.html.erb +++ b/app/views/email_smtp_settings/index.html.erb @@ -1,6 +1,6 @@
<%= render 'shared/settings_nav' %> -
+

Email SMTP

<% value = @encrypted_config.value || {} %> <%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %> @@ -38,7 +38,7 @@ <% if !Docuseal.multitenant? || can?(:manage, :personalization_advanced) %>
<%= ff.label :security_label, 'SMTP Security', class: 'label' %> -
+
<% [%w[STARTTLS none], %w[TLS tls], %w[SSL ssl], %w[Noverify noverify]].each do |(label, val)| %> <%= ff.label :security, value: val, for: "#{val}_radio", class: 'label' do %> <%= ff.radio_button :security, val, checked: (value['security'].blank? && val == 'none') || value['security'] == val, id: "#{val}_radio", class: 'base-radio mr-2' %>