-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making the driver follow more generic conventions
- Loading branch information
Showing
3 changed files
with
55 additions
and
32 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,5 +1,7 @@ | ||
@model ShapeViewModel<PersonPart> | ||
@model PersonPartViewModel | ||
@* Not much interesting happening here, we just display data from the view model. Note that there's no need to display | ||
anything from the Biography Text Field: The field has its own display already defined so it'll handle it for itself. *@ | ||
|
||
<div><strong>@Model.Value.Name</strong></div> | ||
<div>@T["Birth Date: {0}", Model.Value.BirthDateUtc?.ToShortDateString()]</div> | ||
<div>@T["Handedness: {0}", Model.Value.Handedness]</div> | ||
<div><strong>@Model.Name</strong></div> | ||
<div>@T["Birth Date: {0}", Model.BirthDateUtc?.ToShortDateString()]</div> | ||
<div>@T["Handedness: {0}", Model.Handedness]</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"PersonPart": [ | ||
"PersonPart_Edit": [ | ||
{ | ||
"place": "Content:1" | ||
} | ||
|