Skip to content

Instantly share code, notes, and snippets.

@edzhelyov
Created June 22, 2011 08:29
Show Gist options
  • Save edzhelyov/1039700 to your computer and use it in GitHub Desktop.
Save edzhelyov/1039700 to your computer and use it in GitHub Desktop.
Simple I18n templating
This is the default title: Това е по подразбиране
Project title: Име на проекта
<h1>{{This is the default title}}</h1>
<table>
<% @projects.each do |project| %>
<div>
{{Project title}}: <%= project.title %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment