Rails 3+4 support now! Simple Captcha is the simplest and a robust captcha plugin. Its implementation requires adding up a single line in views and in controllers/models.
MIT License
106
stars
73
forks
source link
Add optional possibility to generate captcha partial with HAML #40
Hi!
Here is small change that adds possibility to generate default captcha partial with HAML, additionally to default ERB:
rails generate simple_captcha haml
I believe that HAML is quite popular among developers and this option could save a bit of time..
Few covering tests for generators was added :innocent:
Also I've added dummy application.css file because without it there was two failed Capybara tests.
Hi! Here is small change that adds possibility to generate default captcha partial with HAML, additionally to default ERB:
rails generate simple_captcha haml
I believe that HAML is quite popular among developers and this option could save a bit of time..
Few covering tests for generators was added :innocent: Also I've added dummy
application.css
file because without it there was two failed Capybara tests.