Sha256: 66986dd15b4b3281d68645bf3e73665cb09930bf5e4013f086ddbd2bd752afd4
Contents?: true
Size: 543 Bytes
Versions: 18
Compression:
Stored size: 543 Bytes
Contents
<div style="<%=opts[:style]%>" class="<%=opts[:class]%>"> <% tml_application.languages.each_with_index do |lang, index| %> <% next if opts[:limit] and index >= opts[:limit] %> <%= link_to(params.merge(:locale => lang.locale), :style => (opts[:style] || 'padding-right:5px;text-decoration:none'), :class => opts[:class]) do %> <% if opts[:flags_only] or opts[:flags] %> <%= image_tag(lang.flag_url) %> <% else %> <%= tml_language_name_tag(lang, opts) %> <% end %> <% end %> <% end %> </div>
Version data entries
18 entries across 18 versions & 1 rubygems