%= error_messages_for @group %>
<%= f.text_field :name, :required => true, :size => 60, :disabled => !@group.safe_attribute?('name') %>
<% unless @group.builtin? %><%= f.check_box :twofa_required, disabled: !Setting.twofa_optional? %> <% if Setting.twofa_required? %> <%= l 'twofa_text_group_required' %> <% elsif !Setting.twofa_optional? %> <%= l 'twofa_text_group_disabled' %> <% end %>
<% end %> <% @group.custom_field_values.each do |value| %><%= custom_field_tag_with_label :group, value %>
<% end %>