Sha256: be94553f5acd24b08f71f41f02f316861cd328fafcc4a460de8652c25a21d39c

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

# Contact Us

A Rails 3 Engine providing a basic contact form.  I used Formtastic to keep things simple, and to hook into your apps custom Formtastic stylesheets.

## REQUIREMENTS

Contact Us requires the Formtastic Gem.  Read more about Formtastic @ https://github.com/justinfrench/formtastic

## INSTALLATION

In your `Gemfile`, add the following dependencies:

    gem 'formtastic'
    gem 'contact_us', '~> 0.0.4'

From `Rails.root` run:

    $ bundle install
    $ rake contact_us:install
    
Modify the installed initializer's mailer to settings to use your own email address.

## CONFIGURATION

The installation generator creates the `contact_us.rb` initializer within your apps `config/initializers` directory.

Modify the mailer to setting to be where you would like to send the contact form emails.

The generator has also copied the view files to `app/views/contact_us`, and you can customize them to suit your needs.

## TODO

* 100% test coverage
* i18n

Copyright (c) 2011 Jeff Dutil, released under the MIT license.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contact_us-0.0.4 README.md