mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Add devise-bootstrap-views
This commit is contained in:
@@ -28,9 +28,17 @@
|
||||
<%= link_to Problem.model_name.human(count: 2), problems_path %>
|
||||
<%= link_to Translation.model_name.human(count: 2), translations_path %>
|
||||
<% end %>
|
||||
<%= nav class: 'navbar-right' do %>
|
||||
<% if admin_signed_in? %>
|
||||
<%= link_to(t('application.sign_out'), destroy_admin_session_path, method: :delete) %>
|
||||
<% else %>
|
||||
<%= link_to(t('application.sign_in'), new_admin_session_path) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<div class="container">
|
||||
<%= flash_messages %>
|
||||
<div class="row">
|
||||
<div class="col-md-12" role="main">
|
||||
<%= yield %>
|
||||
|
||||
Reference in New Issue
Block a user