Skip to content

Instantly share code, notes, and snippets.

@koko1000ban
Created November 24, 2010 06:02
Show Gist options
  • Save koko1000ban/713186 to your computer and use it in GitHub Desktop.
Save koko1000ban/713186 to your computer and use it in GitHub Desktop.
arc challengeのまがいもの
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
#arc challengeのまがいもの
require 'rubygems'
require 'sinatra'
require 'haml'
get '/' do
haml(:index)
end
post '/' do
<<-EOF
<pre>
秘匿
</pre>
EOF
end
__END__
@@index
!!!
%html
%head
%meta(charset='UTF-8')
%body
%form{:method => 'post'}
%dl
%dt 依頼者の社員番号
%dd
%input{:name => 'no', :type => 'text'}
%dt 依頼者の名前
%dd
%input{:name => 'who', :type => 'text'}
%dt 対象システム
%dd
%textarea{:name => 'target'}
%dt 依頼内容
%dd
%textarea{:name => 'what'}
%dt いつまで?
%dd
%input{:name => 'when', :type => 'text'}
%input{:type => 'submit'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment