-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PSD-2717 - add legal name to the business search tables
- Loading branch information
1 parent
a85e23e
commit f26a7c2
Showing
6 changed files
with
63 additions
and
15 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,11 +1,11 @@ | ||
<tr class="govuk-table__row"> | ||
<th scope="row" class="govuk-table__header"> | ||
<%= link_to business.trading_name, business, class: "govuk-link govuk-link--no-visited-state" %> | ||
<%= link_to sanitize(business&.trading_name), business, class: "govuk-link govuk-link--no-visited-state" %> | ||
</th> | ||
<td class="govuk-table__cell"> | ||
<%= date_or_recent_time_ago business.created_at %> | ||
<%= sanitize(business&.legal_name) %> | ||
</td> | ||
<td class="govuk-table__cell"> | ||
<%= business.company_number %> | ||
<%= sanitize(business&.company_number) %> | ||
</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