Browse Source

* comments form

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

7
templates/comments/new.html.ep

@ -2,13 +2,6 @@
<form method="POST" action="/comments/add" id="cadd"> <form method="POST" action="/comments/add" id="cadd">
<input type="hidden" value="<%= $pageid %>" name="pageid"> <input type="hidden" value="<%= $pageid %>" name="pageid">
<hr/> <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> <textarea name="text"></textarea>
<br/> <br/>
<input type="submit" value="<%= l('Add') %>"> <input type="submit" value="<%= l('Add') %>">

Loading…
Cancel
Save