<% content_for :heading_class, "pb-0" %> <% content_for :heading do %>

<%= t ".title" %>

<%= render :partial => "navigation" %> <% end %> <%= bootstrap_form_for current_user.notification_preferences, :method => :patch, :url => { :action => :update } do |f| %>
<% user_notification_events.each do |event_name| %>
<%= f.collection_check_boxes( event_name, user_notification_mechanisms, :itself, ->(mechanism) { t(".delivery_mechanisms.#{mechanism}") }, :label => { :text => t(".#{event_name}"), :class => "fw-bold fs-6" } ) %>
<% end %>
<%= f.primary t(".save") %> <% end %>