On a un warning quand on édite un événement déjà modéré

This commit is contained in:
echarp 2014-07-01 20:59:23 +02:00
parent 16ffe75b91
commit 959bd2952e
1 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,9 @@
>>>
=t '.preview'
.box
%h3=t '.warning'
- if @event.is_moderated?
.box
%h3=t '.warning'
.box= render file: '/events/show'