!!! XML
!!!
%html
  %head
    %meta{'name' => 'robots', :content => 'noindex, nofollow'}
    %meta{'http-equiv' => 'content-type', :content => 'text/html; charset=utf-8'}
    %meta{'http-equiv' => 'content-style-type', :content => 'text/css'}
    %meta{'http-equiv' => 'content-script-type', :content => 'text/javascript'}
    %title memository
  %body
    %h1 memository
    %form{:action => "write", :method => "post"}
      %p
        key
        %br
        %input{:type => "textfield", :name => "key"}
      %p
        memo
        %br
        %input{:type => "textarea", :name => "memo"}
      %p
        %input{:type => "submit"}
      %div= @message

!!! XML
!!!
%html
  %head
    %meta{'name' => 'robots', :content => 'noindex, nofollow'}
    %meta{'http-equiv' => 'content-type', :content => 'text/html; charset=utf-8'}
    %meta{'http-equiv' => 'content-style-type', :content => 'text/css'}
    %meta{'http-equiv' => 'content-script-type', :content => 'text/javascript'}
    %title memository
  %body
    %h1 memository
    %form{:action => uri("/write", false, true), :method => "post"}
      %p
        key
        %br
        %input{:type => "textfield", :name => "key"}
      %p
        memo
        %br
        %input{:type => "textarea", :name => "memo"}
      %p
        %input{:type => "submit"}
      %div= @message

Fix action url by helper method
Fix action url by helper method
