Skip to content

Commit

Permalink
remove extra heading (#4461)
Browse files Browse the repository at this point in the history
* hide title

* only print single line for enrollment year

* remove local plan handling

* remove puts + small fix for disable checkbox
  • Loading branch information
TristanB17 authored and kristinmerbach committed Sep 6, 2024
1 parent 64017b4 commit 49241e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/views/insured/families/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
<%= render 'right_column' %>

<% if enrollments.present? %>
<h2><%= enrollments.last.coverage_year %> <%= l10n('coverage').titleize %></h2>

<% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %>
<%= render partial: "enrollment_refactored", :collection => enrollments, :as => :hbx_enrollment, :layout => ("insured/families/partial_layouts/wrap_enrollments_by_year" if is_under_open_enrollment?) , locals: { read_only: false } %>
<% else %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<% if EnrollRegistry.feature_enabled?(:home_tiles_group_by_year) %>
<% if @year_display != hbx_enrollment.effective_on.year %>
<% @year_display = hbx_enrollment.effective_on.year %>
<div id="title-<%=@year_display %>" class="module year-group-title <%= "initially_hidden_enrollment hidden" if initially_hide_enrollment?(hbx_enrollment) %> ">
<h2 class="text-left"><%= l10n("insured.year_title", year: @year_display) %></h2>
<div id="title-<%=@year_display %>" class="module year-group-title <%= "initially_hidden_enrollment hidden" if initially_hide_enrollment?(hbx_enrollment) || (defined?(edit_plan) && edit_plan == true) %> ">
<h2 class="text-left"><%= l10n("insured.year_title", year: @year_display) %> <%= @bs4 && site_key == :me ? l10n('coverage') : '' %></h2>
</div>
<% else %>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/views/insured/family_members/_dependent_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</div>
<div class="col-md-6 col-lg-3 p-0 pt-md-4 no-ssn-container mr-auto">
<%= f.label :no_ssn, class: "mt-1 d-inline-block" do %>
<%= f.check_box :no_ssn, disabled: @person.try(:ssn) %><span class='no_ssn'><%= l10n("do_not_have_ssn") %></span>
<%= f.check_box :no_ssn, disabled: dependent.try(:ssn) %><span class='no_ssn'><%= l10n("do_not_have_ssn") %></span>
<a href="#no_ssn_info" data-toggle="modal" data-target="#no_ssn_info" class="d-block"><%= l10n("not_sure") %></a>
<%= render partial: 'shared/modal_support_text_household', locals: {key: "no_ssn_info"} %>
<% end %>
Expand Down

0 comments on commit 49241e1

Please sign in to comment.