Skip to content

Commit

Permalink
ERB->Slim(layout:minimal)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimoju committed Feb 27, 2013
1 parent 35a5296 commit c3a302c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/views/layouts/minimal.html.erb

This file was deleted.

29 changes: 29 additions & 0 deletions app/views/layouts/minimal.html.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
doctype html
html
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
meta name="viewport" content="width=device-width, initial-scale=1.0"
title= @title ? "Zoomix / #{@title}" : 'Zoomix'
meta name="description" content="Zoomix : Always by your side."
= csrf_meta_tags

/ Le HTML5 shim, for IE6-8 support of HTML elements
/[if lt IE 9]
= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"
= stylesheet_link_tag "application", :media => "all"

body class=controller.controller_name
= yield

- if notice
p#notice= notice
- if alert
p#alert= alert

/!
Javascripts
\==================================================
/ Placed at the end of the document so the pages load faster
= javascript_include_tag "application"
= content_for :after_javascripts

0 comments on commit c3a302c

Please sign in to comment.