<!-- BEGIN hmrn/data/comments.tt -->
	[% # PROCESS dumper.tt dump = hmrn_data.params.comment %]

	<h3 class="header">Comments:</h3>
	
    <form method="post" name="comment" id="comment"
		action="[% app_url %]/hmrn_data/comment/[% data.id %]/[% patient.id %]">
	<table class="borderless indent">
		<tr>
			<td>
				<textarea name="comment" rows="1" class="expand20-100"
					cols="100">[% hmrn_data.params.comment.comment %]</textarea>
                [% IF user_can_enter_data %]
                    [% site.html.submit %]
					[% IF hmrn_data.params.comment.size %]
                      [ <a href="[% app_url %]/hmrn_data/delete_section_data/[%
                        data.id %]/patient_comments">delete ...</a> ]
                    [% END %]                
                [% END %]
			</td>            
        </tr>
        <tr>
			<td>
				<b>Last updated:</b>
				<input type="text" size="12" [% site.html.disabled %]
					value="[% hmrn_data.params.comment.timestamp.strftime('%d.%b.%Y') %]" />
			</td>
		</tr>
	</table>
    </form> 
<!-- END hmrn/data/comments.tt -->
