Skip to content

Commit

Permalink
don't show jurisdiction type for acf users
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe committed Jun 26, 2024
1 parent 32abfe9 commit 14ca954
Showing 1 changed file with 49 additions and 45 deletions.
94 changes: 49 additions & 45 deletions tdrs-frontend/src/components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,51 +177,55 @@ function Home() {
handleChange={handleChange}
handleBlur={handleBlur}
/>
<div className="usa-form-group">
<fieldset className="usa-fieldset">
<legend className="usa-label text-bold">Jurisdiction Type</legend>
<div className="usa-radio">
<input
className="usa-radio__input"
id="state"
type="radio"
name="jurisdictionType"
value="state"
defaultChecked
onChange={() => setJurisdictionType('state')}
/>
<label className="usa-radio__label" htmlFor="state">
State
</label>
</div>
<div className="usa-radio">
<input
className="usa-radio__input"
id="tribe"
type="radio"
name="jurisdictionType"
value="tribe"
onChange={() => setJurisdictionType('tribe')}
/>
<label className="usa-radio__label" htmlFor="tribe">
Tribe
</label>
</div>
<div className="usa-radio">
<input
className="usa-radio__input"
id="territory"
type="radio"
name="jurisdictionType"
value="territory"
onChange={() => setJurisdictionType('territory')}
/>
<label className="usa-radio__label" htmlFor="territory">
Territory
</label>
</div>
</fieldset>
</div>
{shouldShowSttComboBox && (
<div className="usa-form-group">
<fieldset className="usa-fieldset">
<legend className="usa-label text-bold">
Jurisdiction Type
</legend>
<div className="usa-radio">
<input
className="usa-radio__input"
id="state"
type="radio"
name="jurisdictionType"
value="state"
defaultChecked
onChange={() => setJurisdictionType('state')}
/>
<label className="usa-radio__label" htmlFor="state">
State
</label>
</div>
<div className="usa-radio">
<input
className="usa-radio__input"
id="tribe"
type="radio"
name="jurisdictionType"
value="tribe"
onChange={() => setJurisdictionType('tribe')}
/>
<label className="usa-radio__label" htmlFor="tribe">
Tribe
</label>
</div>
<div className="usa-radio">
<input
className="usa-radio__input"
id="territory"
type="radio"
name="jurisdictionType"
value="territory"
onChange={() => setJurisdictionType('territory')}
/>
<label className="usa-radio__label" htmlFor="territory">
Territory
</label>
</div>
</fieldset>
</div>
)}
{jurisdictionType && shouldShowSttComboBox && (
<div
className={`usa-form-group ${
Expand Down

0 comments on commit 14ca954

Please sign in to comment.