On a un warning quand on édite un événement déjà modéré
This commit is contained in:
parent
16ffe75b91
commit
959bd2952e
@ -2,8 +2,9 @@
|
||||
>>>
|
||||
=t '.preview'
|
||||
|
||||
.box
|
||||
%h3=t '.warning'
|
||||
- if @event.is_moderated?
|
||||
.box
|
||||
%h3=t '.warning'
|
||||
|
||||
.box= render file: '/events/show'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user