# File lib/cheat/site.rb, line 350
  def _form
    if @error
      p.error {
        strong "HEY!  "
        text "Something is wrong!  You can't give your cheat sheet the same name
              as another, alphanumeric titles only, and you need to make sure
              you filled in all (two) of the fields.  Okay?"
      }
    end
    form :method => 'post', :action => R(Write, @sheet.title) do
      p {
        p {
          text 'Cheat Sheet Title: '
          input :value => @sheet.title, :name => 'sheet_title', :size => 30,
                :type => 'text'
          small " [ no_spaces_alphanumeric_only ]"
        }
        p {
          text 'Cheat Sheet:'
          br
          textarea @sheet.body, :name => 'sheet_body', :cols => 80, :rows => 30
          unless @cookies[:passed]
            random = rand(10_000)
            br
            img :src => "http://captchator.com/captcha/image/#{random}"
            input :name => 'chunky', :type => 'hidden', :value => random
            input :name => 'bacon', :size => 10, :type => 'text'
          end
        }
      }
      p "Your cheat sheet will be editable (fixable) by anyone.  Each cheat
         sheet is essentially a wiki page.  It may also be used by millions of
         people for reference purposes from the comfort of their command line.
         If this is okay with you, please save."
      input :value => "Save the Damn Thing!", :name => "save", :type => 'submit'
    end
  end