-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dont have secondary modal for dependent table (#4273)
* don't open secondary modal when in comparison modal * forgot to commit a file * rubocop * fix spec by undoing rubocop suggestions
- Loading branch information
1 parent
a055263
commit 15c3411
Showing
5 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="table-responsive hidden" id="dependentTable"> | ||
<table class="table"> | ||
<thead class="thead-default"> | ||
<tr> | ||
<th> | ||
<%= l10n("plans.comparison_table.name") %> | ||
</th> | ||
<th> | ||
<%= l10n("plans.dependents_modal.relationship") %> | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% dependentslist = subscriber + dependents %> | ||
<% dependentslist.each do |d| %> | ||
<tr> | ||
<td> | ||
<%= d.person.full_name %> | ||
</td> | ||
<td> | ||
<% if subscriber.blank? %> | ||
<%= @hbx_enrollment.consumer_role.person.find_relationship_with(d.person) %> | ||
<% else %> | ||
<%= subscriber.first.person.find_relationship_with(d.person) %> | ||
<% end %> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters