5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 11:36:08 +00:00

Merge branch 'issue-12792' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-29 20:19:09 -03:00
commit 6067c3c863
3 changed files with 7 additions and 10 deletions

View file

@ -414,8 +414,8 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
@each $prop, $abbrev in (width: w, height: h) {
@each $size, $length in $sizes {
.#{$abbrev}-#{$grid-breakpoint}-#{$size} { #{$prop}: $length !important; }
.min-#{$abbrev}#{$infix}-#{$size} { min-#{$prop}: $length !important; }
.max-#{$abbrev}#{$infix}-#{$size} { max-#{$prop}: $length !important; }
.min-#{$abbrev}#{$grid-breakpoint}-#{$size} { min-#{$prop}: $length !important; }
.max-#{$abbrev}#{$grid-breakpoint}-#{$size} { max-#{$prop}: $length !important; }
}
}

View file

@ -1,8 +1,4 @@
- if resource.errors.any?
= render 'bootstrap/alert' do
%h4.alert-heading
= I18n.t("errors.messages.not_saved", |
count: resource.errors.count, |
resource: resource.class.model_name.human.downcase) |
- resource.errors.full_messages.each do |message|
%p= message

View file

@ -18,16 +18,17 @@
new_password_path(resource_name, params: locale)
%br/
- if devise_mapping.confirmable?
- if devise_mapping.confirmable? && controller_name != 'confirmations'
= link_to t('.didn_t_receive_confirmation_instructions'),
new_confirmation_path(resource_name, params: locale)
%br/
- if devise_mapping.lockable?
- if resource_class.unlock_strategy_enabled?(:email)
= link_to t('.didn_t_receive_unlock_instructions'),
new_unlock_path(resource_name, params: locale)
%br/
- if controller_name != 'unlocks'
= link_to t('.didn_t_receive_unlock_instructions'),
new_unlock_path(resource_name, params: locale)
%br/
- if devise_mapping.omniauthable?
- resource_class.omniauth_providers.each do |provider|