<th><label for="comment">Comment:</label></th>
<td>
<em>(optional) Add a comment about this attachment to the [% terms.bug %].</em><br>
- [% INCLUDE global/textarea.html.tmpl
- name = 'comment'
- id = 'comment'
- minrows = 6
- maxrows = 15
- cols = constants.COMMENT_COLS
- wrap = 'soft'
+ [% INCLUDE bug/comment.html.tmpl
+ minrows = 6
+ maxrows = 15
+ cols = constants.COMMENT_COLS
+ wrap = 'soft'
%]
[% IF NOT bug.cc.contains(user.login) %]
<br>
<label for="comment">Comment (on the [% terms.bug %]):</label>
[% classNames = 'block' %]
[% classNames = "$classes bz_private" IF attachment.isprivate %]
- [% INCLUDE global/textarea.html.tmpl
- id = 'comment'
- name = 'comment'
- minrows = 10
- cols = 80
- wrap = 'soft'
- classes = classNames
+ [% INCLUDE bug/comment.html.tmpl
+ bug = attachment.bug
+ minrows = 10
+ cols = 80
+ classes = classNames
+ wrap = 'soft'
%]
[% IF NOT attachment.bug.cc.contains(user.login) %]
<input type="checkbox" id="addselfcc" name="addselfcc"