Last active
September 16, 2019 09:42
-
-
Save maltyeva/83e2b6cccde5925024c99966c4a68ff7 to your computer and use it in GitHub Desktop.
Add Navbar for Login/Logout Logic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DeviseModalDemo</title> | |
<%= csrf_meta_tags %> | |
<%= csp_meta_tag %> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> | |
</head> | |
<body> | |
<%= render 'shared/navbar' %> | |
<% if notice %> | |
<div class="alert alert-success"><%= notice %></div> | |
<% end %> | |
<% if alert %> | |
<div class="alert alert-warning"><%= alert %></div> | |
<% end %> | |
<%= yield %> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'bootstrap'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'bootstrap', '~> 4.3.1' | |
gem 'simple_form' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment