i need generate a html select from tag_module and i dont know how to 
this....

   relatedSelect(Variables, Options) ->
       error_logger:error_report( ["Variables:", Variables, "Options:", 
Options] ),
       string:join(lists:map(fun(Module) -> io_lib:format("<option 
value='~p'>~p</option>", [Module,Module]) end, boss_db:find    (list_to_atom
(binary_to_list(proplists:get_value(model, Variables))),[])), "").

where model is pased from template {% relatedSelect model="books" %}

can any help me?

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/50ef6327-6ad4-4cce-8cd4-94f8d4a75071%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to