Browse Source

* comments form

master
Alex 'AdUser' Z 9 years ago
parent
commit
656102c9e9
  1. 9
      templates/comments/new.html.ep

9
templates/comments/new.html.ep

@ -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>

Loading…
Cancel
Save