diff options
Diffstat (limited to 'template/en/default/attachment/edit.html.tmpl')
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index eefe141f8..53eb44d9e 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -212,8 +212,13 @@ <td width="25%"> <small> <b>Description:</b><br> - <textarea rows="3" cols="25" name="description" wrap="soft"> - [%- attachment.description FILTER html %]</textarea><br> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 3 + cols = 25 + wrap = 'soft' + defaultcontent = attachment.description + %]<br> [% IF attachment.isurl %] <input type="hidden" name="filename" @@ -250,7 +255,12 @@ <div id="smallCommentFrame"> <b>Comment (on the [% terms.bug %]):</b><br> - <textarea name="comment" rows="5" cols="25" wrap="soft"></textarea><br> + [% INCLUDE global/textarea.html.tmpl + name = 'comment' + minrows = 5 + cols = 25 + wrap = 'soft' + %]<br> </div> <input type="submit" value="Submit"><br><br> @@ -264,8 +274,14 @@ [% IF isviewable %] <td width="75%"> - <textarea id="editFrame" name="comment" wrap="soft" cols="80" - style="height: 400px; width: 100%; display: none;"></textarea> + [% INCLUDE global/textarea.html.tmpl + id = 'editFrame' + name = 'comment' + style = 'height: 400px; width: 100%; display: none' + minrows = 10 + cols = 80 + wrap = 'soft' + %] <iframe id="viewFrame" src="attachment.cgi?id=[% attachment.id %]" style="height: 400px; width: 100%;"> <b>You cannot view the attachment while viewing its details because your browser does not support IFRAMEs. <a href="attachment.cgi?id=[% attachment.id %]">View the attachment on a separate page</a>.</b> |