zulip/static/templates/settings/auth_methods_settings_admin.hbs
Sahil Batra aa7329e18b settings: Remove form-horizontal class in org settings pages.
This commit removes form-horizontal class from form elements
in custom-emoji, linkifiers, playgrounds, default-streams,
default-user-settings, auth-methods and user privacy settings
templates.

We can safely remove this class because vertical-align property
for input elements is set by other bootstrap CSS and margin
property for text inputs is set in app_components.css and for
checkbox inputs it is set by bootstrap itself.

The display property for inputs other than checkbox and select
elements is set to inline-block by other bootstrap CSS.
For checkbox-type inputs browser sets display property to
inline-block but it is eventually computed to "block" as the
float property is set to left.
2023-01-19 17:24:49 -08:00

21 lines
913 B
Handlebars

<div id="organization-auth-settings" class="settings-section" data-name="auth-methods">
{{#unless is_owner}}
<div class='tip'>{{t "Only organization owners can edit these settings."}}</div>
{{/unless}}
<form class="admin-realm-form org-authentications-form">
<div id="org-auth_settings" class="admin-table-wrapper settings-subsection-parent">
<div class ="subsection-header">
<h3>{{t "Authentication methods" }}</h3>
{{> settings_save_discard_widget section_name="auth_settings" }}
</div>
<div>
<p>{{t "Configure the authentication methods for your organization."}}</p>
<div id="id_realm_authentication_methods">
{{! Empty div is intentional, it will get populated by a dedicated template }}
</div>
</div>
</div>
</form>
</div>