JDutil / contact_us

Gem providing simple Contact Form functionality with a Rails 3+ Engine.
http://contact-us-demo.herokuapp.com
MIT License
135 stars 57 forks source link

Amend Views #6

Closed richlewis14 closed 12 years ago

richlewis14 commented 12 years ago

HI

I am new to rails and wanted to know how could i amend the layout of the form, ie add name, change size of message box etc

JDutil commented 12 years ago

If you would like to add new fields to the form you should fork the repository, and can make customizations to the contact model, mailer, and views as you see fit within your own repository.

Then rather than pointing your Gemfile to use my copy of the gem you could change it to point to your fork like:

gem 'contact_us', :git => 'git://github.com/richlewis14/contact_us.git'

As for making the message box larger you can use css to manipulate it.

richlewis14 commented 12 years ago

Thanks so much for your help

Sent from my iPhone

On 14 Nov 2011, at 23:57, Jeff Dutilreply@reply.github.com wrote:

If you would like to add new fields to the form you should fork the repository, and can make customizations to the contact model, mailer, and views as you see fit within your own repository.

Then rather than pointing your Gemfile to use my copy of the gem you could change it to point to your fork like:

gem 'contact_us', :git => 'git://github.com/richlewis14/contact_us.git'

As for making the message box larger you can use css to manipulate it.


Reply to this email directly or view it on GitHub: https://github.com/jdutil/contact_us/issues/6#issuecomment-2738822

JDutil commented 12 years ago

FYI v0.2.0 now supports optional name and subject form fields. See README for further details.