Bootstrap 5: Add form-label class to hand-crafted form labels
This is done automatically for forms created by bootstrap_form
This commit is contained in:
parent
a4af46ef47
commit
e80d74ae73
6 changed files with 9 additions and 9 deletions
|
@ -26,7 +26,7 @@
|
|||
<%= f.text_field :display_name, :help => t(".display name description"), :tabindex => 3 %>
|
||||
|
||||
<fieldset class="form-group" id="auth_field">
|
||||
<label for="user_auth_provider"><%= t(".external auth") %></label>
|
||||
<label for="user_auth_provider" class="form-label"><%= t(".external auth") %></label>
|
||||
<div class="row">
|
||||
<%= f.select(:auth_provider, Auth.providers, :default => "", :hide_label => true, :wrapper => { :class => "col-auto mb-0" }, :tabindex => 4) %>
|
||||
<%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }, :tabindex => 5) %>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<%= t ".heading_ct" %>
|
||||
</h4>
|
||||
<p class="text-muted"><%= t ".contributor_terms_explain" %></p>
|
||||
<label>
|
||||
<label class="form-label">
|
||||
<%= t ".legale_select" %>
|
||||
</label>
|
||||
<div class="form-group">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue