|
|
|
@ -2,7 +2,14 @@
|
|
|
|
|
<form method="POST" action="/comments/add" id="cadd"> |
|
|
|
|
<input type="hidden" value="<%= $pageid %>" name="pageid"> |
|
|
|
|
<hr/> |
|
|
|
|
<textarea></textarea> |
|
|
|
|
% if (my $user = session('username')) { |
|
|
|
|
<input type="text" name="user" value="<%= $user %>" readonly="1"> |
|
|
|
|
% } else { |
|
|
|
|
<input type="text" name="user" maxlength="32"> |
|
|
|
|
% } |
|
|
|
|
<input type="email" name="email"> |
|
|
|
|
<br/> |
|
|
|
|
<textarea name="text"></textarea> |
|
|
|
|
<br/> |
|
|
|
|
<input type="submit" value="<%= l('Add') %>"> |
|
|
|
|
<span id="resp" style="color: red"></span> |
|
|
|
|