view demo/more/conference1.ur @ 1026:c1f49f6ba856

Switch Monoize back to POST forms
author Adam Chlipala <adamc@hcoop.net>
date Mon, 02 Nov 2009 11:37:41 -0500
parents e46227efcbba
children 53a22f46f377
line wrap: on
line source
open ConferenceFields

open Conference.Make(struct
                         val paper = {Title = title,
                                      Abstract = abstract}
                         val review = {Rating = dropdown "Rating" (#"A" :: #"B" :: #"C" :: #"D" :: [])}

                         val submissionDeadline = readError "2009-11-22 23:59:59"

                         fun summarizePaper [ctx] [[Body] ~ ctx] r = cdata r.Title

                         functor Make (M : Conference.INPUT where con paper = [Title = string, Abstract = string]) = struct
                             open Bid.Make(M)
                         end
                     end)