Commit 0da5f18a authored by danielgrippi's avatar danielgrippi

add placeholder in CommentStreamView. [ci skip]

parent 5a78796e
......@@ -18,8 +18,7 @@
</a>
<p>
<label for="comment_text_on_<%= id %>"><%= Diaspora.I18n.t('stream.comment') %></label>
<textarea class="comment_box" id="comment_text_on_<%= id %>" name="text" rows="2" />
<textarea class="comment_box" id="comment_text_on_<%= id %>" name="text" rows="2" placeholder="<%= Diaspora.I18n.t('stream.comment') %>"/>
</p>
<div class="submit_button">
<input class="button creation" id="comment_submit_<%= id %>" name="commit" type="submit" value="<%= Diaspora.I18n.t('stream.comment') %>" />
......
......@@ -16,7 +16,7 @@ app.views.CommentStream = app.views.Base.extend({
},
postRenderTemplate : function() {
this.$("label").inFieldLabels();
this.$("textarea").placeholder();
this.model.comments.each(this.appendComment, this);
// add autoexpanders to new comment textarea
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment