Sha256: c313d51bbbc6df51b570dec89d36c5633711b6da6eb965f06cda10d7cf785668

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

<div id='search'><%= search_box(:ajax => true) %></div>

<div class='selector'>
  <% (partial = form_tabs).each_index do |i| %><div id='<%= partial[i] %>_sel' <%= i == 0 ? "class='selected'" : "" %>><%= link_to_function(_(partial[i] + '_tab'), "Zena.select_tab('#{partial[i]}');") %></div><% end %>
</div>

<div class='tab'>
<% partial.each_index do |i| %><div id='<%= partial[i] %>_tab' <%= i == 0 ? "" : "style='display:none;'" %>>
  <%= render :partial=>"/templates/drive_tabs/#{partial[i]}" %>
</div><% end %>
</div>

<%#= css_edit %>
<%= javascript_start %>
var current_tab = $('<%= partial[0] %>_tab');
var current_sel = $('<%= partial[0] %>_sel');
<%= javascript_end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zena-0.15.0 app/views/nodes/edit.html.erb