Flash messages
This commit is contained in:
parent
c9179922d7
commit
4ffbe5e68f
|
@ -15,7 +15,8 @@ html
|
|||
= stylesheet_link_tag "management/application"
|
||||
= csrf_meta_tags
|
||||
body
|
||||
= render partial: 'layouts/management/navigation'
|
||||
= render 'layouts/management/navigation'
|
||||
main
|
||||
= render 'layouts/management/flash'
|
||||
== yield
|
||||
= 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
|
||||
=> t 'actions.edit.title', model: Conference.model_name.human
|
||||
= @conference.title
|
||||
|
||||
.row
|
||||
.col-lg-12
|
||||
= render partial: 'form'
|
||||
|
|
Loading…
Reference in New Issue