From 6856b605176ea40b43e039eff1de69eecb9866b2 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 29 Mar 2023 12:05:55 -0300 Subject: [PATCH] fixup! fix: usar siempre el componente --- app/views/posts/_form.haml | 2 +- app/views/posts/_submit.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index f81cef58..7de0ea79 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -1,7 +1,7 @@ - unless post.errors.empty? - title = t('.errors.title') - help = t('.errors.help') - = render 'boostrap/alert' do + = render 'bootstrap/alert' do %h4= title %p= help diff --git a/app/views/posts/_submit.haml b/app/views/posts/_submit.haml index 717b8bfe..cad43320 100644 --- a/app/views/posts/_submit.haml +++ b/app/views/posts/_submit.haml @@ -1,6 +1,6 @@ .form-group = submit_tag t('.save'), class: 'btn submit-post' - = render 'boostrap/alert', class: 'invalid-help d-none' do + = render 'bootstrap/alert', class: 'invalid-help d-none' do = site.config.fetch('invalid_help', t('.invalid_help')) - = render 'boostrap/alert', class: 'sending-help d-none' do + = render 'bootstrap/alert', class: 'sending-help d-none' do = site.config.fetch('sending_help', t('.sending_help'))