Commit eacf94ea authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Convert layout templates to slim

parent f4c00b7c
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= @competition.try(:title) %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<%= csrf_meta_tags %>
</head>
</head>
<body>
<div class="top-banner">
<img src="http://placehold.it/1170x150">
</div>
<%= render partial: 'application/navbar' %>
<%= render partial: 'shared/messages' %>
<%= yield %>
<%= render partial: 'application/footer' %>
<%= javascript_include_tag "application" %>
<%= yield :footer %>
</body>
</html>
| <!doctype html>
html.no-js[lang="en"]
head
meta[charset="utf-8"]
meta[http-equiv="x-ua-compatible" content="ie=edge"]
meta[name="viewport" content="width=device-width, initial-scale=1.0"]
title
= @competition.try(:title)
= stylesheet_link_tag "application", media: "all"
link[rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"]
= csrf_meta_tags
body
.top-banner
img[src="http://placehold.it/1170x150"]
= render partial: 'application/navbar'
= render partial: 'shared/messages'
= yield
= render partial: 'application/footer'
= javascript_include_tag "application"
= yield :footer
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/* Email styles need to be inline */
</style>
</head>
<body>
<%= yield %>
</body>
</html>
doctype html
html
head
meta[http-equiv="Content-Type" content="text/html; charset=utf-8"]
style
| /* Email styles need to be inline */
body
= yield
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment