<% modules_info = @setting.class.get_models_uploaders
@setting.get_modules_keys.each do |k|
if k == 'all'
info = @setting.class.get_module_info(k)
else
next if modules_info[k].keys.detect{|_model| @setting.modules_saved_info[_model.to_s]}.nil?
info = @setting.class.get_module_info(k)
next if info[:sidebar] && !display_sidebar?(info[:sidebar])
next if info.nil?
end
%>
-
<%= info[:title] %>
<% end %>