Sha256: 1dd38c2fb58fccb5e1c6aab6c6418b5f8d67e584443d20a434bbf55cb769f7f7
Contents?: true
Size: 300 Bytes
Versions: 15
Compression:
Stored size: 300 Bytes
Contents
<div id="language_switcher"> <select onchange="location.href = this.options[this.selectedIndex].value;"> <%= options_for_select(Refinery::I18n.locales.collect { |key, value| [value.html_safe, url_for(params.dup.tap{ |p| p[:locale] = key })] }, :selected => request.path ) %> </select> </div>
Version data entries
15 entries across 15 versions & 1 rubygems