<% if current_user %>
<%= render partial: 'rails_base/shared/logged_in_header'%>
<% else %>
<%= render partial: 'rails_base/shared/logged_out_header'%>
<% end %>
<% if notice %>
<% if session.delete(:add_mfa_button) %>
<%= notice %>
<%= link_to "Enable MFA", RailsBase.url_routes.user_settings_path(openmfa: true), method: :get, class: "btn btn-light float-right" %>
<% else %>
<%= notice %>
<% end %>
<% end %>
<% if alert %>
<%= alert %>
<% end %>
<% if partial = RailsBase.config.appearance.header.partial %>
<%= render partial: partial %>
<% end %>
<%= yield %>
<% if RailsBase.appearance.footer.enable? %>
<% end %>
<% if RailsBase.appearance.back_to_top.enable? %>