app/views/alchemy/base/leave.html.erb in alchemy_cms-2.9.1 vs app/views/alchemy/base/leave.html.erb in alchemy_cms-3.0.0.rc5

- old
+ new

@@ -1,11 +1,11 @@ -<div class="with_padding"> - <h2><%= _t("You are about to leave Alchemy") %>.</h2> - <p class="buttons"> - <label><%= _t("Do you want to") %></label> - <%= link_to _t('stay logged in'), alchemy.root_path, class: 'button' %> - </p> - <%= form_tag Alchemy.logout_path, method: 'delete', class: 'buttons' do %> - <label><%= _t('or to completly') %></label> - <%= button _t(:logout), autofocus: true %> - <% end %> -</div> +<%= render_message do %> + <%= _t("You are about to leave Alchemy") %> +<% end %> +<p class="buttons"> + <label><%= _t("Do you want to") %></label> + <%= link_to _t('stay logged in'), alchemy.root_path, class: 'button' %> +</p> +<%= form_tag Alchemy.logout_path, method: 'delete', class: 'buttons' do %> + <label><%= _t('or to completly') %></label> + <%= button _t(:logout), autofocus: true %> +<% end %>