Flash messages
This commit is contained in:
parent
c9179922d7
commit
4ffbe5e68f
|
@ -15,7 +15,8 @@ html
|
||||||
= stylesheet_link_tag "management/application"
|
= stylesheet_link_tag "management/application"
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
body
|
body
|
||||||
= render partial: 'layouts/management/navigation'
|
= render 'layouts/management/navigation'
|
||||||
main
|
main
|
||||||
|
= render 'layouts/management/flash'
|
||||||
== yield
|
== yield
|
||||||
= javascript_include_tag "management/application"
|
= javascript_include_tag "management/application"
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
.row
|
||||||
|
.col-lg-12
|
||||||
|
- if flash[:notice]
|
||||||
|
.alert.alert-success
|
||||||
|
= flash[:notice]
|
||||||
|
|
||||||
|
- if flash[:alert]
|
||||||
|
.alert.alert-error
|
||||||
|
= flash[:alert]
|
|
@ -1,6 +1,7 @@
|
||||||
- content_for :title
|
- content_for :title
|
||||||
=> t 'actions.edit.title', model: Conference.model_name.human
|
=> t 'actions.edit.title', model: Conference.model_name.human
|
||||||
= @conference.title
|
= @conference.title
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-lg-12
|
.col-lg-12
|
||||||
= render partial: 'form'
|
= render partial: 'form'
|
||||||
|
|
Loading…
Reference in New Issue