<% manager = ::OpenProject::Avatars::AvatarManager %> <% html_title l(:label_administration), l(:label_plugins), 'Openproject Avatars' %>
<%= t 'avatars.label_gravatar' %>
<%= styled_label_tag 'settings-enable-gravatars', t('avatars.settings.enable_gravatars') %> <%= hidden_field_tag 'settings[enable_gravatars]', 0 %>
<%= styled_check_box_tag 'settings[enable_gravatars]', 1, manager.gravatar_enabled?, container_class: '-xslim', id: 'settings-enable-gravatars' %>
<%= t 'avatars.label_local_avatar' %>
<%= styled_label_tag 'settings-enable-local-avatars', t('avatars.settings.enable_local_avatars') %> <%= hidden_field_tag 'settings[enable_local_avatars]', 0 %>
<%= styled_check_box_tag 'settings[enable_local_avatars]', 1, manager.local_avatars_enabled?, container_class: '-xslim', id: 'settings-enable-local-avatars' %>