[Facebooker-talk] form formatting

Joel Nylund
2008-01-25T22:10:55Z

If I want to use fbml elements and rails tags, is there a way to do
within a fb:editor?

if I do:

  <% facebook_form_for(:task, at task,:url => create_task_path) do |f|
%>
     Assign Task To: <%= fb_friend_selector %>
     <%=f.text_field :ttype, :label=> "Title"%>
     <%=text_field_tag :newrnumdays, ndays, :label => "#
Days"%>
    <%=f.buttons "Add" %>
<% end %>

the text_field seems to be placed nicely in the editor and formatted
accordingly but the friend selector & the text_field_tag are not
placed inside the editor display table and are just dumped on the
canvas.

Not sure if images go through on this mail list, but attached what it
looks like:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 7.png
Type: image/png
Size: 9781 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/facebooker-talk/attachments/20080125/ddd62fd5/attachment.png
-------------- next part --------------



thanks
Joel