I''m trying to do a simple submission using the redbox plugin. However, the fields for the form I want to display appear properly in the center of the page, the background box created by redbox (with the spinner gif) does not. It always appears at the top center. This isn;t a scrolling issue because the page isn;t long enough to scroll. Also, I have the proper js and css files being called and in the right locations. Is anyone familiar enough with redbox to tell me why my contents appear in the proper location, but the pseudo-modla dialog box of redbox does not, appearing at the top center? Thanks, Janna B. <%= link_to_redbox((image_tag "/images/lockclosed.gif"),"redbox") %> <div id="redbox" style="display: none"> <div style="width: 600px"> <% form_for :associates, :html => {:name => ''lockform''} do |f| %> <%= f.label :username, "username: " %> <%= f.text_field :username %> <br /> <%= f.label :password, "password: " %> <%= f.password_field :password%> <br/><center> <%= f.submit "Submit" , :class=>''button'' %> </center> <% end %> <a href="#" onclick="RedBox.close(); return false;">Close</a> </div> </div>
Solved my own problem.....had an outdated version of the plugin. Posting here in case someone hits this in the future via a search on a similasr problem. Got the latest version of the plugin by: git://github.com/craigambrose/redbox.git
Hi janna, I am using thickbox for changing user''s password. but what happens, after posting form, when error occurs ( i.e. password n confirmation mismatch ) response does''t come back to thickbox. it goes to normal html page. do you have any idea on this ?? Thanks, Sandip R~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No, sorry...I''m not even to that point yet. I am using Authlogic and I am not even sure how to compare username/password to validate it, without changing the current user. On Jul 15, 5:29 am, Sandip Ransing <san2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi janna, > > I am using thickbox for changing user''s password. > but what happens, > after posting form, when error occurs ( i.e. password n confirmation > mismatch ) > response does''t come back to thickbox. > it goes to normal html page. > do you have any idea on this ?? > > Thanks, > Sandip R~