Sha256: a8ccf53510eb9861c00adf770d7724ee22449393eff2929df61712fc00796d9e

Contents?: true

Size: 1.37 KB

Versions: 14

Compression:

Stored size: 1.37 KB

Contents

<form novalidate role="form" name="commentOnForm" ng-show="home.inCommentOnMode()">
  <ul class="list-group">
    <li class="list-group-item">
      <p><img class="feed-participant-icon" ng-src="{{ home.profileIconSrcFor(home.getSelectedItem()) }}"> {{ home.getSelectedItem().summary }}</p>
    </li>
  </ul>

  <div class="form-group col-lg-8 col-md-8">
    <label for="comment-text-{{home.commentModel.id}}">What do you think?</label>
    <input type="text" class="form-control" id="comment-text-{{home.commentModel.id}}" ng-model="home.commentModel.text" ng-maxlength="home.textMaxLength" required focus-on="new-comment" ng-focus="home.showCharLimit('input#comment-text-' + home.commentModel.id)">
  </div>

  <div class="form-group col-lg-8 col-md-8">
    <button class="btn btn-primary" ng-click="home.saveComment()" ng-disabled="commentOnForm.$invalid">Save</button>
    <button class="btn btn-default" ng-click="home.cancelCommentOnMode()">Cancel</button>
  </div>

  <div class="form-group col-lg-8 col-md-8">
    <ul class="list-group" ng-show="home.getSelectedItem().comments.length > 0">
      <li class="list-group-item">
        <p class="comment text-muted" ng-repeat="comment in home.getSelectedItem().comments"><img class="feed-participant-icon" ng-src="{{ home.profileIconSrcFor(comment) }}">: <span class="text-info">{{ comment.text }}</span></p>
      </li>
    </ul>
  </div>
</form>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
social_networking-0.13.3 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.13.2 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.13.1 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.13.0 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.12.0 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.8 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.7 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.6 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.5 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.4 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.3 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.2 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.1 app/views/social_networking/shared/_comment_form.html.erb
social_networking-0.11.0 app/views/social_networking/shared/_comment_form.html.erb