Displaying 2 results from an estimated 2 matches for "email_form".
2008 Feb 07
11
Multiple Views within subfolders
Hi,
I am creating an application in which I am allowing users to have
customized views of a form. These forms do not have to be customized
at this point by the user, but will for now be customized by us, and
uploaded to the server.
My idea was to take the similar approach done by the plug in
acts_as_attachment, and, have a default layout stored in the normal
views/controller_name folder, but
2006 Feb 21
1
Custom forms and fieldWithErrors tags
...a form where a user can choose an email address, but there are only
some choices for the domain, so I wrote a helper where the local part of the
email is a text field and the domains is a dropdown list, like:
Select Email: [ my_name ] @ <domain.com>
..which I defined as a helper:
def email_form(tagname, domain_list)
text_field(tagname,"local_part", :size => 15) + " @ " +
select(tagname, "domain_part", domain_list)
end
In the database however I only have one email_address textfield which is the
full email address.
To get that done I added two...