similar to: change HTML gnerated by form_input

Displaying 20 results from an estimated 20000 matches similar to: "change HTML gnerated by form_input"

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 Apr 14
1
SaltedHashLoginGenerator Integration Woes
I''m trying to modify the SaltedHashLoginGenerator to where it separates the users table into two tables: a users table which contains login info: token, salt, etc) and userprofiles table (which contains firstname, lastname, authlevel, etc) I''m trying to use the existent helper for user under app/helpers/user_helper.rb and copied to app/helpers/userprofiles_helper.rb and
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
2006 Jul 05
1
Newbie SaltedHashLogin add new fields
Hello everyone, with some work i manage to make the SaltedHashLogin works, and it works ok, now i want to use the same table and add some new fields, one picture field so users can load his pictures. So here is my trouble i use mysql and add the new fields, after that i change the line changeable_fields = [''firstname'', ''lastname''], to changeable_fields =
2015 Feb 24
2
Winbind backend : rid is too much underappreciated
ah, ok, yes that was it.. ;-) so for my understanding. we use AD backend if we also want to use the RFC2307 extention (with winbind and schema_mode rfc2307) and we can use RID if we want the windows user id with winbind. and for RID we can use the server templete settings and for AD can can set this per user seen the the Unix Attibutes tab in the windows tool correct? (I still done
2006 Dec 07
1
templating, overide replace etc
Hello, the file type has some good stuff with replace and source : - replace : does it work when we put a content from a template ? i mean can i say source => template(xxx), replace => false so that if it does not exist it get created but if it exist the templete is not used - replace: while i am at it, could we have alias to false/true by yes/no it would be more readable and
2006 Aug 24
1
smb.conf template homedir
For local login to our samba server, we are using posix information stored in an openldap directory. - I can log in via shell with no problems. We are authenticating samba against AD2003. I can attach to the samba server from both windows and macintosh - just not access my home directory. Currently, "template homedir = /home/%U" - which results in a path of /home/<username> I
2013 Jul 12
1
ERB template pain
Hi, I have stupid situation that I may workaround but I think there is an elegant way to deal with. Still I need the community help. In some class X I have: $control = { dev => { id => 7, name => ''GG'' }, prod => { id => 1, name => ''Info'' } } In some other class, which I apply to a node I have defined file from a
2006 May 31
1
Automatic .santize?
Hello and thanks in advance to those who post back, I''m working on a calender but, it renders the data in the controller then saves it as @code so I call it in the veiw <%= @code %>. So everythings working and I add this line.. @event = Event.find_by_date("#{@temp13.year}-#{@temp13.month}-#{@temp13.day}") if @event == nil @@td = "<td width=50 height=50
2003 Aug 08
3
where to get vorbis files with all configuration the spec support
Hi According to vorbis I spec, there are several configurations. There are 2 formats of floor, 3 formats of residue and 3 look up types of VQ codebook, etc. I think to get all kinds of vorbis file with these configurations but what I have got from network only support some of the formats (Ex. floor1, residue 1 & 2, VQ lookup type0 & 1). I downloaded several freeware vorbis encoder
2008 Dec 26
1
/bin/windows/base/rpatched.html page out of date
Dear all, it looks like that something is wrong with the /bin/windows/base/rpatched.html page as it seems pointing to the 2.8.1rc version. Also, I do not know if it is relevant but notice the dates of the following files on ftp://ftp.stat.math.ethz.ch/Software/CRAN/bin/windows/base/ R-2.8.1pat-win32.exe 31963 KB 22/12/2008 16.15.00 R-2.8.1rc-win32.exe 31991 KB 25/12/2008 9.30.00 thank
2011 Jul 15
3
Ruby variable that embeds html tags
This seems very simple, but I can''t quite get it. Probably because I''m just starting out with RoR. My view has a slew of labels and text fields; many are "required": <%= f.text_field :screen_name %> <span class="required_field">Required field</span> (The "required_field" class turns the text red and smaller.) I''d like to
2006 Feb 19
8
uninitialized constant RailsFCGIHandler
Hello, I''m trying to switch to FastCGI. With CGI everything works, but after have done all the steps of the wiki here (http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntuDebianTestingAndUnstable) My application started to give me "Error 500" Looking at the Apache logs I can see : [notice] mod_fcgid: server /rails/public/dispatch.fcgi(6127) started
2005 Dec 29
5
Model Composition in Rails
I''m struggling understanding the model view of a combined model. Take the following: class P4 < ActiveRecord::Base has_many :p4_priorities end I figured out the naming and referencing of the sub models (i.e. P4.p4_priorities - seems simple enough but I had weird issues related to it). I''m all ok except that I am having issues with how to reference a
2006 Jul 03
4
text_field doesn''t call overridden ActiveRecord getters
All, In a template, I have <%= text_field :target_list, :DateReceived, { :title => ''uploaded_at'', :class => ''target_list_info'', :disabled => ''true'' } %> Here is the DateReceived method on my
2006 May 18
3
populating array of text_fields from an array of model objects
I have in my view the following: <% 0.upto(@num_performances) do |idx| -%> <%= text_field ''performance'', ''city'', :index => idx, %> <%= text_field ''performance'', ''venue'', :index => idx, %> <% end -%> and in my controller I have: @performance = [Performance.new("city" =>
2005 Dec 15
12
Adding multiple invoice items to an invoice on the same form
Hi Friends , Got a unique requirement .I am designing a invoice printing system .So right now I have the NEW page for adding the invoice details to the table .Now I have the requirement of adding Invoice Items In the same form .I have added multiple text boxes to enter the values of the Items using <%= text_field ''invoiceitems[]'', ''item_price''
2006 Jul 11
4
add method parameter for form helper
Hello, Most of the form helpers are build using Object / Method without the possibility of using a method parameter (as I know ...) text_field(object_name, method, options = {}) how do you solve this problem ? -> (I did my own helper and generate the html ... well I think there is a better way;-) -> do I have to overide text_field(object_name, method, parameters {}, options = {})
2006 Feb 21
2
ActiveRecord before_ callbacks question
Hi! I need to set the primary key in a model and postgres table to something different than id. View Edit and such works in the scaffolded controller. However if I click in the controller below the list of data onto New then I get an error message like this: Showing app/views/admin/_form.rhtml where line #5 raised: undefined method `nr_before_type_cast'' for