-
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.
* fix indentation on family row, move home title out of form and into address partial * remove redundant header from edit partial * move dep home address header into dep address partial, add mailing address to partial * remove unneeded args
- Loading branch information
1 parent
8f10521
commit 47bb1f1
Showing
7 changed files
with
39 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<% person_id = member.person.id %> | ||
<tr class="member-<%= person_id %>-row"> | ||
<td><%= member.full_name.titleize %></td> | ||
<td><%= member.person.hbx_id %></td> | ||
<td><%= member.age_on(TimeKeeper.date_of_record) %></td> | ||
<td><%= member.gender.humanize %></td> | ||
<td><%= member.relationship.try(:humanize) %></td> | ||
<td class="p-2"> | ||
<% edit_url = member.is_primary_applicant ? personal_insured_families_path({bs4: @bs4}) : main_app.edit_insured_family_member_path({id: member.id, bs4: @bs4}) %> | ||
<span class="d-flex"> | ||
<%= h(link_to l10n("edit_member"), edit_url, remote: true, class: 'edit-member btn button outline close-2') %> | ||
<span class="d-flex hidden edit-buttons"> | ||
<%= link_to('#', class: 'btn outline mr-2 text-nowrap') do %> | ||
<%= l10n("cancel_edit") %> | ||
<% end %> | ||
<% confirm_id = "member-#{person_id}-confirm" %> | ||
<span tabindex="0", onkeydown="handleButtonKeyDown(event, '<%= confirm_id %>')", id=<%= confirm_id %> class="confirm-member btn btn-primary text-nowrap"> | ||
<%= l10n("save_changes") %> | ||
</span> | ||
</span> | ||
<% person_id = member.person.id %> | ||
<tr class="member-<%= person_id %>-row"> | ||
<td><%= member.full_name.titleize %></td> | ||
<td><%= member.person.hbx_id %></td> | ||
<td><%= member.age_on(TimeKeeper.date_of_record) %></td> | ||
<td><%= member.gender.humanize %></td> | ||
<td><%= member.relationship.try(:humanize) %></td> | ||
<td class="p-2"> | ||
<% edit_url = member.is_primary_applicant ? personal_insured_families_path({bs4: @bs4}) : main_app.edit_insured_family_member_path({id: member.id, bs4: @bs4}) %> | ||
<span class="d-flex"> | ||
<%= h(link_to l10n("edit_member"), edit_url, remote: true, class: 'edit-member btn button outline close-2') %> | ||
<span class="d-flex hidden edit-buttons"> | ||
<%= link_to('#', class: 'btn outline mr-2 text-nowrap') do %> | ||
<%= l10n("cancel_edit") %> | ||
<% end %> | ||
<% confirm_id = "member-#{person_id}-confirm" %> | ||
<span tabindex="0", onkeydown="handleButtonKeyDown(event, '<%= confirm_id %>')", id=<%= confirm_id %> class="confirm-member btn btn-primary text-nowrap"> | ||
<%= l10n("save_changes") %> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr id="person-<%= person_id %>" class="hidden"> | ||
<td colspan="6" class="append_consumer_info"></td> | ||
</tr> |
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
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