<% if Setting.any? %> <% @groups = {} @settings.each {|s| @groups[s.group] ||= [] @groups[s.group] << s } nil %> <%= tabs do |t| %> <% @groups.each do |g,settings| %> <%= t.pane t(g, :scope => "fullstack.admin.groups", :default => g.to_s.humanize) do %> <% settings.each do |stg| %>

<%= link_to t(stg.key, :scope => "helpers.label", :default => stg.key.to_s.humanize), [:edit, :admin, stg] %>

<% end %> <% end %> <% end %> <% end %> <% end %>