Skip to content

Commit

Permalink
Devise: add devise-bootstrap-views
Browse files Browse the repository at this point in the history
Addresses #535
  • Loading branch information
ewlarson committed Sep 8, 2023
1 parent 76bd58b commit 538dfc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ gem 'solr_wrapper', git: 'https://github.com/cbeer/solr_wrapper.git', branch: 'm

gem 'rsolr', '>= 1.0'
gem 'jquery-rails'

# Auth
gem "devise", "4.7.3"
gem 'devise-bootstrap-views', '~> 1.0'
gem 'devise-guests', '~> 0.6'

gem 'haml'
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ DEPENDENCIES
coffee-rails (~> 4.2)
database_cleaner
devise (= 4.7.3)
devise-bootstrap-views (~> 1.0)
devise-guests (~> 0.6)
dotenv-rails
down (~> 5.0)
Expand Down
2 changes: 2 additions & 0 deletions app/views/devise/registrations/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@
</div>
<% end %>

<p><%= t('.unhappy') %>? <%= link_to t('.cancel_my_account'), user_registration_path(resource_name), data: { confirm: t('.are_you_sure') }, method: :delete %>.</p>

<%= link_to t('.back'), :back %>

0 comments on commit 538dfc6

Please sign in to comment.