source: RedSur/app/assets/templates/comment-stream_tpl.jst.hbs @ 0b9e14e

modelo_minuta
Last change on this file since 0b9e14e was 1b91e02, checked in by aosorio <aosorio@…>, 8 years ago

Version para desarrollo local

  • Property mode set to 100755
File size: 1.1 KB
Line 
1{{#unless all_comments_loaded}}
2  <div class="show_comments comment {{#unless showExpandCommentsLink}} hidden {{/unless}}">
3    <div class="media">
4      <a href="/posts/{{id}}#comments" class="toggle_post_comments">
5        {{t "stream.more_comments" count=moreCommentsCount}}
6      </a>
7    </div>
8  </div>
9{{/unless}}
10
11<div class="comments"> </div>
12
13{{#if loggedIn}}
14  <div class="comment media new_comment_form_wrapper {{#unless commentsCount}} hidden {{/unless}}">
15    {{#with current_user}}
16      <a href="/people/{{guid}}" class="img">
17        {{{personImage this}}}
18      </a>
19    {{/with}}
20
21    <div class="bd">
22      <form accept-charset="UTF-8" action="/posts/{{id}}/comments" class="new_comment" id="new_comment_on_{{id}}" method="post">
23        <textarea class="comment_box" id="comment_text_on_{{id}}" name="text" rows="2" required placeholder="{{t "stream.comment"}}" />
24        <div class="submit_button">
25          <input class="btn creation" id="comment_submit_{{id}}" name="commit" type="submit" value="{{t "stream.comment"}}" />
26        </div>
27      </form>
28    </div>
29  </div>
30{{/if}}
Note: See TracBrowser for help on using the repository browser.