Sha256: 3258e907615cbdedbf3a1d682f5db1d3430e7b9abc869fe6e77ad85e3129f6b1

Contents?: true

Size: 724 Bytes

Versions: 4

Compression:

Stored size: 724 Bytes

Contents

<script><!--
<%= tab_pane.name %> = [
<% tab_pane.each do |o| %>
  "<%= o.class.name %>",
<% end %> "" ];
--></script>

<ul id="foldertab">
  <% tab_pane.each do |o| %>
  <li>
   	<a alt="<%= o.name %>" href="javascript:showElement('<%= o.class.name %>', <%= tab_pane.name %>)">
   	  <img src="/images/publisher/<%= underscore(demodulize(o.class.name)) %>.png">
  	  </a>
  	  <%= text_or_checkbox(:name => "#{tab_pane.name}[#{o.class.name}][@enabled]", :value => o.enabled, :editable => @edit) %>
  </li>
  <% end %>
</ul>

<% tab_pane.each do |o| %>
  <div id="<%= o.class.name %>" style="<% if(o.selected?)%>display:block<%else%>display:none<%end%>">
    <%= render_object(o, tab_pane.name, @edit) %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
damagecontrol-0.5.0.1392 app/views/project/_tab_pane.rhtml
damagecontrol-0.5.0.1393 app/views/project/_tab_pane.rhtml
damagecontrol-0.5.0.1391 app/views/project/_tab_pane.rhtml
damagecontrol-0.5.0.1404 app/views/project/_tab_pane.rhtml