app/views/devise/sessions/new.html.erb in bullet_train-1.2.20 vs app/views/devise/sessions/new.html.erb in bullet_train-1.2.21
- old
+ new
@@ -1,7 +1,7 @@
-<%= render 'account/shared/workflow/box' do |p| %>
- <% p.content_for :title, t('devise.headers.sign_in') %>
- <% p.content_for :body do %>
+<%= render 'account/shared/workflow/box' do |box| %>
+ <% box.title t('devise.headers.sign_in') %>
+ <% box.body do %>
<% within_fields_namespace(:self) do %>
<%# TODO: Turbo is set to `false` for now, but we may want to only bypass Turbo for JavaScript-based requests in the future. %>
<%= form_for resource, as: resource_name, url: two_factor_authentication_enabled? ? users_pre_otp_path : session_path(resource_name), remote: two_factor_authentication_enabled?, html: {class: 'form'}, authenticity_token: true, data: {turbo: false} do |form| %>
<% with_field_settings form: form do %>
<%= render 'account/shared/notices', form: form %>