Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
= f.collection_select(:consumer_id, Consumer.all.sort_by(&:name), :id, :name, {}, class: 'form-control')
|
||||
.form-group
|
||||
= f.label(:email)
|
||||
= f.text_field(:email, class: 'form-control', required: true)
|
||||
= f.email_field(:email, class: 'form-control', required: true)
|
||||
.form-group
|
||||
= f.label(:name)
|
||||
= f.text_field(:name, class: 'form-control', required: true)
|
||||
|
@@ -9,4 +9,4 @@ h1 = t('.headline')
|
||||
= f.label(:password_confirmation)
|
||||
= f.password_field(:password_confirmation, class: 'form-control', required: true)
|
||||
= f.hidden_field(:activation_token)
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-default')
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-primary')
|
||||
|
@@ -3,5 +3,5 @@ h1 = t('.headline')
|
||||
= form_tag do
|
||||
.form-group
|
||||
= label_tag(:email, t('activerecord.attributes.internal_user.email'))
|
||||
= text_field_tag(:email, params[:email], autofocus: true, class: 'form-control', required: true)
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-default')
|
||||
= email_field_tag(:email, params[:email], autofocus: true, class: 'form-control', required: true)
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-primary')
|
||||
|
@@ -12,7 +12,7 @@ h1 = InternalUser.model_name.human(count: 2)
|
||||
= f.select(:role_eq, User::ROLES.map { |role| [t("users.roles.#{role}"), role] }, {}, class: 'form-control', prompt: t('activerecord.attributes.internal_user.role'))
|
||||
|
||||
.table-responsive
|
||||
table.table
|
||||
table.table.mt-4
|
||||
thead
|
||||
tr
|
||||
th = t('activerecord.attributes.internal_user.name')
|
||||
|
@@ -9,4 +9,4 @@ h1 = t('.headline')
|
||||
= f.label(:password_confirmation)
|
||||
= f.password_field(:password_confirmation, class: 'form-control', required: true)
|
||||
= f.hidden_field(:reset_password_token)
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-default')
|
||||
.actions = submit_tag(t('.submit'), class: 'btn btn-primary')
|
||||
|
Reference in New Issue
Block a user