Skip to content

Instantly share code, notes, and snippets.

@julioprotzek
Created January 12, 2014 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julioprotzek/8380539 to your computer and use it in GitHub Desktop.
Save julioprotzek/8380539 to your computer and use it in GitHub Desktop.
doctype html
html
head
meta name="viewport" content="width=device-width, initial-scale=1.0"
title Paporeto
= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
= csrf_meta_tags
/[if lt IE 9]
= javascript_include_tag "html5shiv", "data-turbolinks-track" => true
= javascript_include_tag "respond.min", "data-turbolinks-track" => true
body
.navbar.navbar-inverse.navbar-fixed-top
.container
.navbar-header
= link_to 'Paporeto', root_path, class: 'navbar-brand'
.navbar-collapse
ul.nav.navbar-nav
li.active = link_to 'Artigos', articles_path
li = link_to 'Categorias', categories_path
.container
= yield
= javascript_include_tag "application", "data-turbolinks-track" => true
p Artigo atualizado <b>#{distance_of_time_in_words_to_now(@article.updated_at)}</b> atrás
root 'articles#index'
p = number_to_currency(3_999.99, precision: 3, locale: :en)
p = number_to_humann(3_000_000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment