Skip to content

Commit

Permalink
improve age prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Oct 12, 2024
1 parent afdb83d commit ccc7910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Pages/Portfolio-Review.razor
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ else
<p><b>Person @personIndex:</b> </p>

<EditForm Model="person" style=margin-left:25px>
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (on this year's birthday)<br />
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (on {@appData.FamilyData.Year}'s birthday)<br />

@if (person?.FamilyData?.PersonCount > 1)
{
Expand Down
4 changes: 2 additions & 2 deletions Pages/Saving.razor
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Savings@(stepPath==null?" Planner":": "+stepPath.Replace('-',' ')) - MultiFol.io

<span>Person @(i+1):</span><br/>
<div style=margin-left:25px>
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (on this year's birthday)<br/>
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (after birthday in @appData.FamilyData.Year)<br/>
@if (familyData.PersonCount > 1) {
<label>Pronoun/Unique identifier:</label> <select @bind=person.Identifier>
<option value="ChoiceNeeded">ChoiceNeeded</option>
Expand Down Expand Up @@ -845,7 +845,7 @@ Savings@(stepPath==null?" Planner":": "+stepPath.Replace('-',' ')) - MultiFol.io
var person = familyData.People[i];
<span>Person @(i+1):</span><br/>
<div style=margin-left:25px>
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (on this year's birthday)<br/>
<label>Age:</label> <input style=width:60px type=number min=0 max=125 @bind-Value=person.Age @bind-Value:event=oninput /> (after birthday in @appData.FamilyData.Year)<br/>
<label>Employer:</label> <input style=width:200px type=text @bind-Value=person.EmployerBenefits.Company @bind-Value:event=oninput /><br/>
</div>
}
Expand Down

0 comments on commit ccc7910

Please sign in to comment.