RohitRox / devise-bulma-views

Bulma views for Devise with I18n support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devise Bulma Views

Here are some of the highlights:

  • Devise views with Bulma CSS
  • Responsive layout
  • I18n support

Installation

Make sure Bulma is installed:

Gemfile

gem 'bulma-rails', '~> 0.8.0'

OR

CDN

<link rel="stylesheet" href="https://https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">

Add this line to your application's Gemfile:

gem 'devise-bulma-views', '~> 0.1.0'

And then execute:

$ bundle install

I18n

Install devise-i18n for other locales. Make sure to insert gem 'devise-i18n' before gem 'devise-bulma-views'

Customizing Views

The devise:views:bulma_templates generator will copy all views to your application, so you can modify the files as you wish:

$ rails g devise:views:bulma_templates

Contributing

  1. Fork it ( https://github.com/thecodechef/devise-bulma-views/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Bulma views for Devise with I18n support.

License:MIT License


Languages

Language:Haml 67.3%Language:Ruby 32.7%