decidim-admin/app/views/layouts/decidim/admin/application.html.erb in decidim-0.0.1.alpha9 vs decidim-admin/app/views/layouts/decidim/admin/application.html.erb in decidim-0.0.1
- old
+ new
@@ -1,40 +1,3 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>Decidim - admin</title>
-<%= render partial: 'layouts/decidim/admin/header' %>
-</head>
-
-<body>
- <div class="off-canvas-wrapper">
- <div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
- <div class="off-canvas position-left reveal-for-large" id="my-info" data-off-canvas data-position="left">
- <div class="sidebar">
- <%= render partial: 'layouts/decidim/admin/sidebar' %>
- </div>
- </div>
-
- <div class="off-canvas-content" data-off-canvas-content>
- <div class="title-bar hide-for-large">
- <div class="title-bar-left">
- <button class="menu-icon" type="button" data-open="my-info"></button>
- <span class="title-bar-title"><%= title %></span>
- </div>
- </div>
- <div class="row main-content">
- <div class="small-12 column">
- <% if content_for?(:title) %>
- <section class="page-title">
- <%= content_for :title %>
- </section>
- <% end %>
-
- <%= display_flash_messages %>
- <%= yield %>
- </div>
- </div>
- </div>
- </div>
- </div>
-</body>
-</html>
+<%= render "layouts/decidim/admin/application" do %>
+ <%= yield %>
+<% end %>