plataformatec/devise — pull request #2629 by gandark (2013-09-13 18:18:09+00:00)
Title: Template engines

The oficial solution for using haml or slim from version 1.2 is: https://github.com/plataformatec/devise/wiki/How-To:-Create-Haml-and-Slim-Views

It's complicated learn this or open bookmarks and execute in all projects, with way we can use this

```ruby
rails g devise:views -t --template=haml
```
or

```ruby
rails g devise:views -t --template=slim
```

In your gemfile you must have

```ruby
group :development do
gem 'html2haml'
end
```
or

```ruby
group :development do
gem 'html2slim'
end
```