Sha256: b0482ddad7e9bb4287ffb8cc53f474017bb5ab064a6f02d7292908719daf1e2c
Contents?: true
Size: 630 Bytes
Versions: 7
Compression:
Stored size: 630 Bytes
Contents
<%= render(:partial => '/tml_rails/tags/language_selector_js') %> <select id="tml_language_selector" onchange="tml_change_locale(this.options[this.selectedIndex].value)" style="<%=opts[:style]%>" class="<%=opts[:class]%>"> <% tml_application.languages.each do |lang| %> <option dir='ltr' value="<%=lang.locale%>" <%="selected" if lang.locale == tml_current_locale %>> <% if opts[:language] == :native %> <%= lang.native_name %> <% elsif opts[:language] == :english %> <%= lang.english_name %> <% else %> <%= lang.english_name %> <% end %> </option> <% end %> </select>
Version data entries
7 entries across 7 versions & 1 rubygems