You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_form.html.erb 678B

12345678910111213141516171819
  1. <%= error_messages_for @group %>
  2. <div class="box tabular">
  3. <p><%= f.text_field :name, :required => true, :size => 60,
  4. :disabled => !@group.safe_attribute?('name') %></p>
  5. <% unless @group.builtin? %>
  6. <p><%= f.check_box :twofa_required, disabled: !Setting.twofa_optional? %>
  7. <% if Setting.twofa_required? %>
  8. <em class="info"><%= l 'twofa_text_group_required' %></em>
  9. <% elsif !Setting.twofa_optional? %>
  10. <em class="info"><%= l 'twofa_text_group_disabled' %></em>
  11. <% end %>
  12. </p>
  13. <% end %>
  14. <% @group.custom_field_values.each do |value| %>
  15. <p><%= custom_field_tag_with_label :group, value %></p>
  16. <% end %>
  17. </div>