Skip to content
This repository has been archived by the owner on Dec 2, 2018. It is now read-only.

eric1234/contact_forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

Provides a user interface so an admin user can manage the behavior of a contact form. This complements rack_mailer providing an interface where an admin can set:

  • Who get’s the e-mail

  • What the success message looks like

  • If there is an auto-response

  • What that auto-response looks like (subject and body)

Although we do handle installing the rack_mailer middleware we do NOT handle the actual HTML form. This still needs to be design by hand and hosted in your application. If you are needing a mostly static page I suggest HighVoltage for hosting the form.

You should POST the form to /contact_forms/<key> where key is the name of the form with all non-alphanumeric characters replace with _ and all characters downcased.

The interface does not allow new contact forms to be created. The developer should create them in their seed file as they develop the contact form.

About

A Rails Engine that allows an admin user to manage contact forms (success message, auto-responder, etc). Built on rack_mailer to actually process forms.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages