You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
% my $pageid = stash('pageid') || '';
|
|
|
|
<form method="POST" action="/comments/add" id="cadd">
|
|
|
|
<input type="hidden" value="<%= $pageid %>" name="pageid">
|
|
|
|
<hr/>
|
|
|
|
% 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>
|
|
|
|
</form>
|