10 lines
614 B
Plaintext
10 lines
614 B
Plaintext
<section class="panel unpad borderless center flex flex-column gap-half margin-block-end">
|
|
<h2 class="txt-medium txt-uppercase divider">Email</h2>
|
|
<%= form_with model: settings, url: notifications_settings_path, method: :patch, local: true, data: { controller: "form" } do |form| %>
|
|
<div class="margin-block">
|
|
<%= form.label :bundle_email_frequency, "Receive an email with new notifications:" %>
|
|
<%= form.select :bundle_email_frequency, bundle_email_frequency_options_for(settings), {}, class: "input input--select", data: { action: "change->form#submit" } %>
|
|
</div>
|
|
<% end %>
|
|
</section>
|