app/views/account/onboarding/user_details/edit.html.erb in bullet_train-1.3.22 vs app/views/account/onboarding/user_details/edit.html.erb in bullet_train-1.3.23
- old
+ new
@@ -8,15 +8,15 @@
<%= render 'account/shared/forms/errors', form: f %>
<%= render 'account/shared/notices', form: f %>
<div class="grid grid-cols-1 gap-y gap-x sm:grid-cols-2">
<div class="sm:col-span-1">
- <%= render 'shared/fields/text_field', form: f, method: :first_name, options: {autofocus: true} %>
+ <%= render 'shared/fields/text_field', form: f, method: :first_name, other_options: {required: true}, options: {autofocus: true} %>
</div>
<div class="sm:col-span-1">
- <%= render 'shared/fields/text_field', form: f, method: :last_name %>
+ <%= render 'shared/fields/text_field', form: f, method: :last_name, other_options: {required: true} %>
</div>
<% # only edit the team name if this user is an admin and they are the first user. %>
<% # yes, that's redundant. %>
<% if can?(:edit, f.object.current_team) && f.object.current_team.users.count == 1 %>
@@ -28,10 +28,10 @@
<% end %>
<div class="sm:col-span-2">
<%= render 'shared/fields/super_select', form: f, method: :time_zone,
choices: time_zone_options_for_select(@user.time_zone, nil, ActiveSupport::TimeZone),
- other_options: {search: true} %>
+ other_options: {search: true, required: true} %>
</div>
</div>
<div class="buttons">
<%= f.submit t('.buttons.next'), class: first_button_primary %>