Skip to content

Commit

Permalink
remove unneeded args
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienparker committed Aug 10, 2024
1 parent 129e0d5 commit e18c1d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/people/landing_pages/_personal.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
<% if current_user.does_not_have_any_staff_role? && !current_user.has_insured_role? %>
<%= render 'shared/age_off_excluded', f: f %>
<% end %>

<section class="mb-4">
<% if @person.is_consumer_role_active? %>
<div id="consumer_fields_sets ">
<%= render 'shared/consumer_fields', f: f %>
</div>
<%= render partial: 'shared/consumer_home_address_fields', locals: {f: f, bs4: true} %>
<%= render partial: 'shared/consumer_home_address_fields', locals: {f: f} %>
<% else %>
<%= render 'shared/home_address_fields', f: f %>
<% end %>
Expand All @@ -81,11 +81,11 @@
<section class="mb-4">
<h4 class="gamma mb-0"><%= l10n("insured.consumer_roles.phone_and_email") %></h4>
<p><%= l10n("insured.consumer_roles.please_provide") %></p>
<%= render partial: 'shared/phone_fields', locals: {f: f, bs4: true} %>
<%= render partial: 'shared/phone_fields', locals: {f: f} %>
<div id="email_info" class="">
<div class="email d-flex mb-md-4 row col-sm">
<%= f.fields_for :emails, errors: {}, fieldset: true do |email| %>
<%= render partial: 'shared/email_fields', locals: {f: email, bs4: true} %>
<%= render partial: 'shared/email_fields', locals: {f: email} %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit e18c1d8

Please sign in to comment.