search for: form_input

Displaying 6 results from an estimated 6 matches for "form_input".

2006 Mar 18
1
change HTML gnerated by form_input
How do I change the HTML code generated by "form_input" ? Is there a way to specify a templete or something like that ? Thanks /Simone -- Posted via http://www.ruby-forum.com/.
2006 Mar 15
3
Any one who can help with how to implement such a login?
http://www.wayfaring.com/ I think it is implemented using rails. For if u input the wrong url,u can see a "rails" style error hint. I really like its ajax login system. from the source of the homepage,it can be seen the login part is: <div> <h1>Log In</h1> <form action="/account/login_ajax" method="post" onsubmit="new
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action? Thanks Frank --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 07
1
Using select with saltedhashlogingenerator
hi, i just got started with rails and am trying to work with the (deep breath) saltedhashlogingenerator gem in my app. more specifically, i am trying to generate a select box in my _edit partial, via: <%= form_input select(:id, :name, @customers) %> (i used Customer instead of User when installing the gem into my rails app) this would appear to be the correct syntax, based on the wiki documentation for using select. but i get an error: You have a nil object when you didn''t expect it! You might ha...
2006 Jul 05
1
Newbie SaltedHashLogin add new fields
...er a some time i figure out that i need add a line in the localize file eng.yml, to see the correct label, and in the signup form i see the field with the input box for this new field. However in the edit area the new field does not show, so i review the _edit.rhtml file and add the line <%= form_input changeable(user, "sex"), "sex" %> and that show me the label for the sex field however not the input box, so if some one can give me a clue of how to work this. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Apr 14
1
SaltedHashLoginGenerator Integration Woes
...xnumber'', ''mobilenumber'', ''companyname'', ''email address'', ''description'' ], 12 13 } 14 end But yet I get this error: uninitialized constant Userprofiles Extracted source (around line #3): 1: <%= form_input :hidden_field, ''form'', :value => ''edit'' %> 2: 3: <%= prof_form_input prof_changeable(userprofile, "firstname"), "firstname" %> Any suggestions? Or am I completely going by the the wrong way? My end result is that whenever a user...