It's not *exactly* Sequel, but it's Jeremy, and it's for use *with* Sequel (at 
least for me). 

Jeremy, could you share the *complete* source code for the Forme demos? As is, 
I'm afraid they don't make any sense to me. I'm trying to get a drop-down menu, 
as seen from the "Default" demo for "Artist." The template code says 

         form_opts[:one]||{}

Er, wha? Looking at "Association Radios/Checkboxes" I'm guessing that form_opts 
is somehow 

        form_opts = {:wrapper=>:li, :inputs_wrapper=>:ol, 
:many=>{:as=>:checkbox}, :one=>{:as=>:radio}}

which would, for *that* form, mean that 

                 form_opts[:one]||{}
becomes 
                {:as=>:radio}
except that 
        f.input{my_own_field, {:as=>:radio}}
didn't work. I still haven't figured out where in the rdoc docs I even find 
what goes after ":as", or what other options go there. 

"my_own_field" is, btw, a PostgreSQL enumerated custom type. It's just dying to 
be a drop-down selector again.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to