Skip to content

Commit

Permalink
Add missing className="form-control" attributes to <input> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
steinarb committed Jan 13, 2024
1 parent 9d3431c commit 24fedcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function AdminJobsEdit() {
<div className="form-group row mb-2">
<label htmlFor="amount" className="col-form-label col-5">{text.amount}</label>
<div className="col-7">
<input id="amount" type="text" value={transactionAmount} readOnly={true} />
<input id="amount" className="form-control" type="text" value={transactionAmount} readOnly={true} />
</div>
</div>
<div className="form-group row mb-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default function AdminPaymenttypesCreate() {
<div className="col-7">
<input
id="name"
className="form-control"
type="text"
value={transactionTypeName}
onChange={e => dispatch(MODIFY_TRANSACTION_TYPE_NAME(e.target.value))} />
Expand All @@ -44,6 +45,7 @@ export default function AdminPaymenttypesCreate() {
<div className="col-7">
<input
id="amount"
className="form-control"
type="text"
value={transactionAmount}
onChange={e => dispatch(MODIFY_JOB_AMOUNT(parseInt(e.target.value)))} />
Expand All @@ -53,6 +55,7 @@ export default function AdminPaymenttypesCreate() {
<div className="col-5"/>
<div className="col-7">
<button
className="btn btn-primary"
onClick={() => dispatch(CREATE_PAYMENT_TYPE_BUTTON_CLICKED())}>
{text.createNewPaymentType}
</button>
Expand Down

0 comments on commit 24fedcd

Please sign in to comment.