Skip to content
Snippets Groups Projects
Commit 9480635b authored by Justin Ahn's avatar Justin Ahn
Browse files

adding the username placeholder

parent 6b4f77d9
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,9 @@ Template.accountProfile.helpers
userLanguage: (key) ->
return (localStorage.getItem('userLanguage') or defaultUserLanguage())?.split('-').shift().toLowerCase() is key
username: ->
return Meteor.user().username
Template.accountProfile.onCreated ->
settingsTemplate = this.parentTemplate(3)
settingsTemplate.child ?= []
......
......@@ -12,7 +12,7 @@
<div class="input-line">
<label for="username">{{_ "Username"}}</label>
<div>
<input type="text" name="username" id="username" />
<input type="text" name="username" id="username" placeholder="{{username}}" />
</div>
</div>
<div class="input-line">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment