Skip to content

Instantly share code, notes, and snippets.

Avatar

shahid shahidbscs

View GitHub Profile
View _header.html.haml
%header
.language-selection{ "ng-controller": "LanguageCtrl" }
= link_to "English", "#/",
class: "language-choice", "ng-click": "changeLanguage($event, 'en')"
= link_to "العربية", "#/",
class: "language-choice", "ng-click": "changeLanguage($event, 'ar')",
lang: "ar"
%a.logo{ href: "/#/" }
= image_tag("search_in_mena_logo.png")