mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 13:41:41 +00:00
feat: mostrar los mensajes en todas las vistas #12792
This commit is contained in:
parent
d48231e725
commit
74a19ad9d9
4 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,6 @@
|
|||
url: site_collaborate_path(@site),
|
||||
method: :post) do |f|
|
||||
- unless current_usuarie
|
||||
= render 'layouts/flash'
|
||||
.form-group
|
||||
= f.label :email
|
||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
.row.align-items-center.justify-content-center.full-height
|
||||
.col-md-5.align-self-center
|
||||
= render 'layouts/flash'
|
||||
|
||||
.sr-only
|
||||
%h2= t('.sign_in')
|
||||
%p= t('.help')
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
%body{ class: yield(:body) }
|
||||
.container-fluid#sutty
|
||||
= render 'layouts/breadcrumb'
|
||||
= render 'layouts/flash'
|
||||
|
||||
= yield
|
||||
|
||||
- if flash[:js]
|
||||
.js-flash.d-none{ data: flash[:js] }
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
= link_to t('sites.designer_url'), @site.design.designer_url, class: 'btn'
|
||||
|
||||
%section.col
|
||||
= render 'layouts/flash'
|
||||
.d-flex.justify-content-between.align-items-center.pl-2-plus.pr-2-plus.mb-2
|
||||
%form{ action: site_posts_path }
|
||||
- @filter_params.each do |param, value|
|
||||
|
|
Loading…
Reference in a new issue