Skip to content

Commit

Permalink
Changed text input to be below text input field
Browse files Browse the repository at this point in the history
  • Loading branch information
lambeb committed Nov 1, 2024
1 parent 59286c1 commit e556047
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ function ReissueNewDonorCase({ questionnaire }: Props): ReactElement {
<label className="ons-label" htmlFor="user">
User to issue new donor case for
</label>
<input type="text" id="user" className="ons-input ons-input--text ons-input-type__input" value={user} onChange={(e) => setUser(e.target.value)}/>
<input type="text" id="user"
className="ons-input ons-input--text ons-input-type__input"
value={user} onChange={(e) => setUser(e.target.value)}/>
</div>
<div className="ons-field">
{error &&
<p className="ons-summary__item--error ons-input--text">{errorMessage}</p>}
</div>
</div>
</td>
Expand All @@ -56,7 +62,6 @@ function ReissueNewDonorCase({ questionnaire }: Props): ReactElement {
/>
</td>
</tr>
{error && <p className="ons-summary__item--error">{errorMessage}</p>}
</tbody>
</table>
</div>
Expand Down

0 comments on commit e556047

Please sign in to comment.