forked from puzzle/decidim-zuerich
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_smtp_settings.html.erb
33 lines (32 loc) · 1.14 KB
/
_smtp_settings.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div class="fieldset">
<h4><%= t("decidim.system.models.organization.fields.smtp_settings") %></h4>
<%= f.fields_for :smtp_settings do %>
<fieldset class="fieldset">
<legend><%= t(".fieldsets.sender") %></legend>
<%= f.email_field :from_email, placeholder: t(".placeholder.from_email") %>
<%= f.text_field :from_label, placeholder: t(".placeholder.from_label") %>
<p class="help-text"><%= t(".instructions.from_label") %></p>
</fieldset>
<div class="field">
<%= f.text_field :user_name %>
</div>
<div class="field">
<%= f.text_field :password %>
</div>
<div class="field">
<%= f.text_field :address %>
</div>
<div class="field">
<%= f.number_field :port %>
</div>
<% end %>
</div>
<div class="fieldset">
<h4><%= t("decidim.system.models.organization.fields.tenant_type") %></h4>
<div class="field">
<%= f.select :tenant_type,
{ "Mitwirken Stadt Zürich": :mitwirken, "Meinquartier.Zürich": :meinquartier },
{ include_blank: t("decidim.system.organizations.tenant_type.none") },
{ multiple: false } %>
</div>
</div>