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