search for: loginbox

Displaying 3 results from an estimated 3 matches for "loginbox".

Did you mean: linbox
2009 Mar 04
6
render yield?!
...function would be: def whatever flash[:notice] = "You''re in whatever!" update_content end since I don''t want the page to be reloaded completely, I update each div box that needs to be updated: def update_content render :update do |page| page.replace ''loginBox'', :partial => ''shared/login'' page.replace ''contentBox'', :partial => ''shared/content'' page.replace ''navigation'', :partial => ''shared/navigation'' page.replace ''menuBox'...
2006 Jan 13
0
Layout not rendered when render_component used
...er = @user.try_to_login if logged_in_user # handle setting cookies, setting session # and redirecting to index else flash[:loginerror] = ''Invalid username/password combination'' end end end end app/views/login.rhtml <div id="loginbox"> <% if flash[:loginerror] %> <h3><%= flash[:loginerror] %></h3> <% end %> <%= form_tag :controller => ''auth'', :action => ''login'' %> <label for="user_name">name:</label> <%= text_...
2006 Jul 31
4
Login Password text field values
I have a text field that I use for logging in users. Due to the design of my site, I don''t have room to put the word "username" in front of the text field so I''d like to actually display it inside the field and then have the word clear when the user clicks on it. How could I modify something like this <%= text_field "user", "login", :size