Skip to content

Commit

Permalink
fix(OrderForm): "Credit Card" -> "Payment Method" as label
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf authored and HipsterBrown committed Oct 26, 2018
1 parent 2adf07f commit f29f16d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/OrderForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ class OrderForm extends React.Component {
id: 'error.email.invalid',
defaultMessage: 'Invalid email address',
},
'paymentmethod.label': {
id: 'paymentmethod.label',
defaultMessage: 'Payment Method',
},
'creditcard.label': {
id: 'creditcard.label',
defaultMessage: 'Credit Card',
Expand Down Expand Up @@ -843,7 +847,7 @@ class OrderForm extends React.Component {
<InputField
type="select"
className="horizontal"
label={intl.formatMessage(this.messages['creditcard.label'])}
label={intl.formatMessage(this.messages['paymentmethod.label'])}
name="creditcardSelector"
onChange={uuid => this.handleChange('creditcard', { uuid })}
options={this.paymentMethodsOptions}
Expand Down

0 comments on commit f29f16d

Please sign in to comment.