Sha256: 3eea13937706f637d94dbd7467df856024114ba84b1848adfcb75bde255d83f5

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

<%
  links = []
  current_tab ||= ""
  [ 
    ["Developers", {:action => :index}]
  ].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;">
    <%=raw(links.join(" | "))%>
  </span>
  <%=current_tab %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
platform-3.1.4 app/views/platform/admin/developers/_tabs.html.erb
platform-3.1.3 app/views/platform/admin/developers/_tabs.html.erb
platform-3.1.2 app/views/platform/admin/developers/_tabs.html.erb
platform-3.1.1 app/views/platform/admin/developers/_tabs.html.erb