app/views/account/onboarding/user_details/edit.html.erb in bullet_train-1.1.10 vs app/views/account/onboarding/user_details/edit.html.erb in bullet_train-1.2.0
- old
+ new
@@ -14,18 +14,18 @@
<div class="sm:col-span-1">
<%= render 'shared/fields/text_field', form: f, method: :last_name %>
</div>
- <div class="sm:col-span-2">
- <% # 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 %>
+ <% # 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 %>
+ <div class="sm:col-span-2">
<%= f.fields_for :current_team do |tf| %>
<%= render 'shared/fields/text_field', form: tf, method: :name %>
<% end %>
- <% end %>
- </div>
+ </div>
+ <% 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} %>