Sha256: 53c85d99a6b24ea1f05a8c89a182e0709ff77ca8559db5eb7e726dbe0ec28cba
Contents?: true
Size: 518 Bytes
Versions: 15
Compression:
Stored size: 518 Bytes
Contents
<% links = [] current_tab ||= "" [["Translations", {:action => :index}], ["Votes", {:action => :votes}]].each do |link| if controller.action_name == link.last[:action].to_s current_tab = link.first if current_tab.blank? links << link.first else links << link_to(link.first, link.last) end end %> <div class="section_title"> <span style="font-size:12px; float:right; padding-top:5px;"> <%=links.join(" | ").html_safe %> </span> <%=current_tab %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems