diff --git a/app/components/add-contributor/component.js b/app/components/add-contributor/component.js
index 13c83da..254ec95 100644
--- a/app/components/add-contributor/component.js
+++ b/app/components/add-contributor/component.js
@@ -9,7 +9,7 @@ export default Component.extend({
// Default attributes used by reset
attributes: {
- address: null,
+ account: null,
name: null,
kind: 'person',
url: null,
@@ -24,9 +24,9 @@ export default Component.extend({
this.reset();
},
- isValidAddress: computed('kredits.ethProvider', 'address', function() {
+ isValidAccount: computed('kredits.ethProvider', 'account', function() {
// TODO: add proper address validation
- return this.get('address') !== '';
+ return this.get('account') !== '';
}),
isValidName: isPresent('name'),
isValidURL: isPresent('url'),
@@ -34,7 +34,7 @@ export default Component.extend({
isValidGithubUsername: isPresent('github_username'),
isValidWikiUsername: isPresent('wiki_username'),
isValid: and(
- 'isValidAddress',
+ 'isValidAccount',
'isValidName',
'isValidGithubUID'
),
diff --git a/app/components/add-contributor/template.hbs b/app/components/add-contributor/template.hbs
index ded7d47..c47fd92 100644
--- a/app/components/add-contributor/template.hbs
+++ b/app/components/add-contributor/template.hbs
@@ -9,11 +9,11 @@
- {{input name="address"
+ {{input name="account"
type="text"
placeholder="0xF18E631Ea191aE4ebE70046Fcb01a436554421BA4"
- value=address
- class=(if isValidAddress 'valid' '')}}
+ value=account
+ class=(if isValidAccount 'valid' '')}}