-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
83 additions
and
59 deletions.
There are no files selected for viewing
64 changes: 32 additions & 32 deletions
64
src/GovUk.Frontend.AspNetCore.DocSamples/Pages/SummaryList/SummaryListWithActions.cshtml
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,48 +1,48 @@ | ||
@page | ||
|
||
<govuk-summary-list> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
<row> | ||
<key> | ||
Name | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
Sarah Philips | ||
</govuk-summary-list-row-value> | ||
<govuk-summary-list-row-actions> | ||
<govuk-summary-list-row-action href="#" visually-hidden-text="name">Change</govuk-summary-list-row-action> | ||
</govuk-summary-list-row-actions> | ||
</govuk-summary-list-row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
</value> | ||
<actions> | ||
<action href="#" visually-hidden-text="name">Change</action> | ||
</actions> | ||
</row> | ||
<row> | ||
<key> | ||
Date of birth | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
5 January 1978 | ||
</govuk-summary-list-row-value> | ||
<govuk-summary-list-row-actions> | ||
<govuk-summary-list-row-action href="#" visually-hidden-text="date of birth">Change</govuk-summary-list-row-action> | ||
</govuk-summary-list-row-actions> | ||
</govuk-summary-list-row> | ||
</value> | ||
<actions> | ||
<action href="#" visually-hidden-text="date of birth">Change</action> | ||
</actions> | ||
</row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
<key> | ||
Contact information | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
72 Guild Street<br>London<br>SE23 6FH | ||
</govuk-summary-list-row-value> | ||
<govuk-summary-list-row-actions> | ||
<govuk-summary-list-row-action href="#" visually-hidden-text="contact information">Change</govuk-summary-list-row-action> | ||
</govuk-summary-list-row-actions> | ||
</value> | ||
<actions> | ||
<action href="#" visually-hidden-text="contact information">Change</action> | ||
</actions> | ||
</govuk-summary-list-row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
<key> | ||
Contact details | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
<p class="govuk-body">07700 900457</p><p class="govuk-body">sarah.phillips@example.com</p> | ||
</govuk-summary-list-row-value> | ||
<govuk-summary-list-row-actions> | ||
<govuk-summary-list-row-action href="#" visually-hidden-text="contact details">Change</govuk-summary-list-row-action> | ||
</govuk-summary-list-row-actions> | ||
</value> | ||
<actions> | ||
<action href="#" visually-hidden-text="contact details">Change</action> | ||
</actions> | ||
</govuk-summary-list-row> | ||
</govuk-summary-list> |
48 changes: 24 additions & 24 deletions
48
src/GovUk.Frontend.AspNetCore.DocSamples/Pages/SummaryList/SummaryListWithoutActions.cshtml
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,36 +1,36 @@ | ||
@page | ||
|
||
<govuk-summary-list> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
<row> | ||
<key> | ||
Name | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
Sarah Philips | ||
</govuk-summary-list-row-value> | ||
</govuk-summary-list-row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
</value> | ||
</row> | ||
<row> | ||
<key> | ||
Date of birth | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
5 January 1978 | ||
</govuk-summary-list-row-value> | ||
</govuk-summary-list-row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
</value> | ||
</row> | ||
<row> | ||
<key> | ||
Contact information | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
72 Guild Street<br>London<br>SE23 6FH | ||
</govuk-summary-list-row-value> | ||
</govuk-summary-list-row> | ||
<govuk-summary-list-row> | ||
<govuk-summary-list-row-key> | ||
</value> | ||
</row> | ||
<row> | ||
<key> | ||
Contact details | ||
</govuk-summary-list-row-key> | ||
<govuk-summary-list-row-value> | ||
</key> | ||
<value> | ||
<p class="govuk-body">07700 900457</p><p class="govuk-body">sarah.phillips@example.com</p> | ||
</govuk-summary-list-row-value> | ||
</govuk-summary-list-row> | ||
</value> | ||
</row> | ||
</govuk-summary-list> |
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
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