view bitsyblog/templates/post.html @ 26:e37d117a9deb

preferences form now works
author k0s <k0scist@gmail.com>
date Sat, 31 Oct 2009 01:15:26 -0400
parents 7cdb3eecc045
children
line wrap: on
line source

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <head>
    <title>post - ${user}</title>
    <py:for each="index, (href, sheet) in enumerate(stylesheets)">
      <link href="${href}"
            type="text/css" 
            rel="${index and 'alternate stylesheet' or 'stylesheet'}"
            title="${sheet}"/>
    </py:for>
  </head>
  <body>
    <xi:include href="navigation.html" />
    
    <form action="${user_url(request, user)}" method="post">
      <textarea cols="80" rows="25" name="form-post">${''}</textarea><br/>
      <span title="viewable to everyone">public<input checked="checked" type="radio" name="privacy" value="public"/></span>
      <span title="viewable only to your friends">secret<input type="radio" name="privacy" value="secret"/></span>
      <span title="viewable only to you">private<input type="radio" name="privacy" value="private"/></span>
      <input type="submit" name="submit" value="Post"/>
    </form>
  </body>
</html>