mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 18:56:21 +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),
|
url: site_collaborate_path(@site),
|
||||||
method: :post) do |f|
|
method: :post) do |f|
|
||||||
- unless current_usuarie
|
- unless current_usuarie
|
||||||
= render 'layouts/flash'
|
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :email
|
= f.label :email
|
||||||
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
= f.email_field :email, autofocus: true, autocomplete: 'email',
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
.row.align-items-center.justify-content-center.full-height
|
.row.align-items-center.justify-content-center.full-height
|
||||||
.col-md-5.align-self-center
|
.col-md-5.align-self-center
|
||||||
= render 'layouts/flash'
|
|
||||||
|
|
||||||
.sr-only
|
.sr-only
|
||||||
%h2= t('.sign_in')
|
%h2= t('.sign_in')
|
||||||
%p= t('.help')
|
%p= t('.help')
|
||||||
|
|
|
@ -21,6 +21,9 @@
|
||||||
%body{ class: yield(:body) }
|
%body{ class: yield(:body) }
|
||||||
.container-fluid#sutty
|
.container-fluid#sutty
|
||||||
= render 'layouts/breadcrumb'
|
= render 'layouts/breadcrumb'
|
||||||
|
= render 'layouts/flash'
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
- if flash[:js]
|
- if flash[:js]
|
||||||
.js-flash.d-none{ data: 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'
|
= link_to t('sites.designer_url'), @site.design.designer_url, class: 'btn'
|
||||||
|
|
||||||
%section.col
|
%section.col
|
||||||
= render 'layouts/flash'
|
|
||||||
.d-flex.justify-content-between.align-items-center.pl-2-plus.pr-2-plus.mb-2
|
.d-flex.justify-content-between.align-items-center.pl-2-plus.pr-2-plus.mb-2
|
||||||
%form{ action: site_posts_path }
|
%form{ action: site_posts_path }
|
||||||
- @filter_params.each do |param, value|
|
- @filter_params.each do |param, value|
|
||||||
|
|
Loading…
Reference in a new issue