%meta{:charset => "UTF-8"} %title=h "Edit - #{params[:captures].first.to_s}" %link{:href => "http://ssig33.com/common.css", :media => "screen", :rel => "stylesheet", :type => "text/css"} %meta{:name => "viewport", :content => "width=320, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"} %div#all %form{:action => "/update", :method => "post"} %input{:id => "id", :name => "id", :type => "hidden", :value => "#{@id}"} %p %textarea{:cols => "80", :id => "bodY", :name => "body", :rows => "30"}=@page.body #rescue "" %p %input{:id => "password", :name => "password", :type => "password"} %p %input{:name => "commit", :type => "submit", :value => "Save changes"} %form{:action => "/destroy", :method => "post"} %input{:id => "id", :name => "id", :type => "hidden", :value => "#{@id}"} %p %input{:id => "password", :name => "password", :type => "password"} %p %input{:name => "commit", :type => "submit", :value => "Destroy"} %form{:action => "/usr2", :method => "post"} %input{:id => "id", :name => "id", :type => "hidden", :value => "#{@id}"} %p %input{:id => "password", :name => "password", :type => "password"} %p %input{:name => "commit", :type => "submit", :value => "Destroy"}