<!DOCTYPE html>
<html>
<head>
  <title><%= t 'application_title' %></title>
  <%= csrf_meta_tags %>

  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body>
  <nav class="navbar navbar-light navbar-full navbar-fixed-top bg-faded rtl">
    <a class="navbar-brand pull-right" href="<%= root_path %>">
      <%= image_tag 'calendar.png', width: 30, height: 30, class: 'align-top' %>
      <%= t('application_title') %>
    </a>
    <ul class="nav navbar-nav rtl">
      <li class="nav-item active">
        <a class="nav-link" href="#"><%= t('links.nav.home') %> <span class="sr-only">(current)</span></a>
      </li>
    </ul>
    <%= link_to t('links.sign_out'), destroy_user_session_path, class: 'btn btn-outline-danger pull-left' %>
  </nav>
<div class="container container-calendar">
  <%= yield %>
</div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title><%= t 'application_title' %></title>
  <%= csrf_meta_tags %>

  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body>
  <nav class="navbar navbar-light navbar-full navbar-fixed-top bg-faded rtl">
    <a class="navbar-brand pull-right" href="<%= root_path %>">
      <%= image_tag 'calendar.png', width: 30, height: 30, class: 'align-top' %>
      <%= t('application_title') %>
    </a>
    <ul class="nav navbar-nav rtl">
      <li class="nav-item active">
        <a class="nav-link" href="#"><%= t('links.nav.home') %> <span class="sr-only">(current)</span></a>
      </li>
    </ul>
    <%= link_to t('links.sign_out'), destroy_user_session_path, method: 'delete', class: 'btn btn-outline-danger pull-left' %>
  </nav>
<div class="container container-calendar">
  <%= yield %>
</div>
</body>
</html>

Add delete method to sign out link
Add delete method to sign out link
