Skip to content

Commit

Permalink
Remove fieldset
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjuhuss committed Dec 13, 2024
1 parent 7f463d5 commit 80439f7
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/components/Dashboard/NinForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,16 @@ function NinForm(): JSX.Element {
render={({ handleSubmit, pristine, invalid }) => {
return (
<form onSubmit={handleSubmit} className="single-input-form x-adjust">
<fieldset id="nins-form" className="tab-pane">
<FinalField
component={CustomInput}
componentClass="input"
type="text"
name="nin"
label={<FormattedMessage description="nin label" defaultMessage="ID number" />}
placeholder={placeholder}
helpBlock={<FormattedMessage description="nins input help text" defaultMessage="12 digits" />}
validate={validateNin}
/>
</fieldset>
<FinalField
component={CustomInput}
componentClass="input"
type="text"
name="nin"
label={<FormattedMessage description="nin label" defaultMessage="ID number" />}
placeholder={placeholder}
helpBlock={<FormattedMessage description="nins input help text" defaultMessage="12 digits" />}
validate={validateNin}
/>
<div className="buttons">
<EduIDButton id="add-nin-button" buttonstyle="primary" disabled={pristine || invalid} type="submit">
<FormattedMessage description="button_add" defaultMessage="Add" />
Expand Down

0 comments on commit 80439f7

Please sign in to comment.