Changed elementId to be id

This commit is contained in:
Robin Ward 2013-05-20 15:31:05 -04:00
parent 42248a7164
commit dee45d8dba
5 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ Discourse.Post = Discourse.Model.extend({
postElementId: function() {
return "post_" + (this.get('post_number'));
}.property(),
}.property('post_number'),
// The class for the read icon of the post. It starts with read-icon then adds 'seen' or
// 'last-read' if the post has been seen or is the highest post number seen so far respectively.

View file

@ -1,6 +1,6 @@
<label for='choose-topic-title'>{{i18n choose_topic.title.search}}</label>
{{textField value=view.topicTitle placeholderKey="choose_topic.title.placeholder" elementId="choose-topic-title"}}
{{textField value=view.topicTitle placeholderKey="choose_topic.title.placeholder" id="choose-topic-title"}}
{{#if view.loading}}
<p>{{i18n loading}}</p>

View file

@ -1,7 +1,7 @@
<div class="modal-body">
<form>
<label for='username-or-email'>{{i18n forgot_password.invite}}</label>
{{textField value=view.accountEmailOrUsername placeholderKey="login.email_placeholder" elementId="username-or-email" autocorrect="off" autocapitalize="off"}}
{{textField value=view.accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}}
</form>
</div>
<div class="modal-footer">

View file

@ -30,7 +30,7 @@
<label for='login-account-name'>{{i18n login.username}}&nbsp;</label>
</td>
<td>
{{textField value=view.loginName placeholderKey="login.email_placeholder" elementId="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
{{textField value=view.loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
</td>
<tr>
<td>

View file

@ -24,7 +24,7 @@
<div class="control-group">
<label class="control-label">{{i18n user.email.title}}</label>
<div class="controls">
{{textField value=newEmail elementId="change_email" classNames="input-xxlarge"}}
{{textField value=newEmail id="change_email" classNames="input-xxlarge"}}
</div>
<div class='instructions'>
{{#if taken}}