Skip to content

Commit

Permalink
#42 Replace the simple textarea by a markdown editor for the summary …
Browse files Browse the repository at this point in the history
…field in the case close dialog
  • Loading branch information
nadouani committed Nov 30, 2016
1 parent 49c03d9 commit d34ae46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/views/partials/case/case.close.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ <h2 class="background"><span>Incident</span></h2>
<label class="col-sm-3 control-label">Summary
<i class="fa fa-asterisk text-danger"></i>
</label>
<div class="col-sm-9">
<textarea class="form-control" name="summary" ng-model="formData.summary" placeholder="Close summary" required rows="3"></textarea>
<div class="col-sm-9">
<textarea class="content-box" name="summary" placeholder="Close summary" markdown-editor="{'fullscreen': {enable: false}, 'iconlibrary': 'fa', addExtraButtons: true, resize: 'vertical'}" rows="6" ng-model="formData.summary" required></textarea>
<p class="help-block" ng-show="caseCloseForm.summary.$invalid && !caseCloseForm.summary.$pristine">The case summary is required.</p>
</div>
</div>
Expand Down

0 comments on commit d34ae46

Please sign in to comment.