Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Views generator for devise gem. Views are generated to be used with simple_form gem. It also adds full i18N support
branch: master
Failed to load latest commit information.
lib fix users#edit title
README.rdoc update README
Rakefile first commit
VERSION first commit
devise_simple_form_views_generator-0.1.0.gem first commit
devise_simple_form_views_generator.gemspec first commit

README.rdoc

Devise simple_form views generator

This gem is an add-on to the excellent devise gem developed by plataformatec (github.com/plataformatec/devise).

It's a new generator to replace the default devise_views generator.

  • Views are generated to work with simple_form gem (also done by plataformatec github.com/plataformatec/simple_form)

  • Views are fully i18N localized. Two locale files are generated (English and French)

  • A small CSS file is also generated just for your eyes :)

Command

This gem add only one generator, same usage as the default devise generator

Usage:
  rails generate devise_simple_form_views [SCOPE] [options]

Options:
  -e, [--template-engine=TEMPLATE_ENGINE]  # Template engine for the views. Available options are 'erb' and 'haml'.
                                           # Default: erb

To generate HAML views, you need to have haml, hpricot and ruby_parser gems installed

Other Languages

Feel free to fork and provide new translations.

Maintainers

Bugs and Feedback

If you discover any bugs, please create an issue on GitHub.

github.com/sgruhier/devise_simple_form_views_generator/issues

Thanks

Big thanks to plataformatec and José Valim for all the work they do for Rails community. Code of this plugins is mainly inspired by devise code!

License

MIT License. Copyright 2010 Xilinus. xilinus.com

Something went wrong with that request. Please try again.