]> git.llucax.com Git - personal/website.git/blob - source/blog/com_form.html
Improve and add sponsoring sidebar
[personal/website.git] / source / blog / com_form.html
1 <div class="comform">
2 <a name="comment" />
3 <h3 class="comform"><a href="#comment">Your comment</a></h3>
4 <div class="comforminner">
5 <form method="%(form_method)s" action="%(form_action)s">
6 <div class="comformauthor">
7   <label for="comformauthor">Your name %(form_author_error)s</label>
8   <input type="text" class="comformauthor" id="comformauthor"
9          name="comformauthor" value="%(form_author)s" />
10 </div>
11 <div class="comformlink">
12   <label for="comformlink">Your link
13     <span class="comformoptional">(optional, will be published)</span>
14       %(form_link_error)s</label>
15   <input type="text" class="comformlink" id="comformlink"
16          name="comformlink" value="%(form_link)s" />
17   <div class="comformhelp">
18     like <span class="formurlexample">http://www.example.com/</span>
19     or <span class="formurlexample">mailto:you@example.com</span>
20   </div>
21 </div>
22 <div class="comformcaptcha">
23   <label for="comformcaptcha">Your humanity proof %(form_captcha_error)s</label>
24   <input type="password" class="comformcaptcha" id="comformcaptcha"
25          name="comformcaptcha" value="%(form_captcha)s" />
26   <div class="comformhelp">%(captcha_puzzle)s</div>
27 </div>
28 <div class="comformbody">
29   <label for="comformbody" class="comformbody">The comment
30     %(form_body_error)s</label>
31   <textarea class="comformbody" id="comformbody" name="comformbody" rows="15"
32             cols="80">%(form_body)s</textarea>
33   <div class="comformhelp">
34     in
35     <a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html">\
36 RestructuredText</a> format, please
37   </div>
38 </div>
39 <div class="comformsend">
40   <button type="submit" class="comformsend" id="comformsend" name="comformsend">
41     Send comment
42   </button>
43 </div>
44 </form>
45 </div>
46 </div>
47 <!-- vim: set et sw=2 sts=2 : -->