mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
<div class="max-w-6xl mx-auto">
|
|
<div class="flex space-x-8">
|
|
<%= render 'shared/settings_nav' %>
|
|
<div class="mt-4">
|
|
Email settings
|
|
<% value = @encrypted_config.value || {} %>
|
|
<%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off' } do |f| %>
|
|
<%= f.fields_for :value do |ff| %>
|
|
<div>
|
|
<%= ff.label :host %>
|
|
<%= ff.text_field :host, value: value['host'], required: true %>
|
|
</div>
|
|
<div>
|
|
<%= ff.label :port %>
|
|
<%= ff.text_field :port, value: value['port'], required: true %>
|
|
</div>
|
|
<div>
|
|
<%= ff.label :username %>
|
|
<%= ff.text_field :username, value: value['username'], required: true %>
|
|
</div>
|
|
<div>
|
|
<%= ff.label :password %>
|
|
<%= ff.password_field :password, value: value['password'], required: true %>
|
|
</div>
|
|
<div>
|
|
<%= ff.label :from_email, 'Send from' %>
|
|
<%= ff.email_field :from_email, value: value['from_email'], required: true %>
|
|
</div>
|
|
<% end %>
|
|
<%= f.button button_title %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|