Sha256: 9162f90f17034bb50b024db9941c4ea49b528102de240591bc602bb95395a595
Contents?: true
Size: 898 Bytes
Versions: 9
Compression:
Stored size: 898 Bytes
Contents
<ul class="lang-tabs"> <% Sunrise::SystemSettings.keys.each_with_index do |section, i| %> <%= content_tag(:li, :class => (i == 0 ? "active" : "not-active")) do %> <span><%= link_to_function t("manage.settings.#{section}"), 'TabPanel.click(event)', :class=>"tab", :id=>"s#{section}" %></span> <% end %> <% end %> </ul> <% Sunrise::SystemSettings.keys.each_with_index do |section, i| %> <%= content_tag(:div, :class => "add-white-bl", :id => "s#{section}_block", :style => (i == 0 ? nil: "display:none;")) do %> <div class="bot-bg"> <div class="inputs-bl"> <%= form.fields_for section do |s| %> <% Sunrise::SystemSettings[section].each do |attribute, value| %> <%= s.label attribute %> <%= s.text_field attribute, :class=>"text", :value => value %> <% end %> <% end %> </div> </div> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems